Added m5func "resetstats" to allow scriptable reset of statistics inside sim

--HG--
extra : convert_revision : 35a93fe085c2ca7ca1fc8bf887539e0b9c704aaf
This commit is contained in:
Andrew Schultz 2003-10-24 16:28:04 -04:00
parent df3487c3aa
commit 47399b6c5e

View file

@ -2408,6 +2408,7 @@ decode OPCODE default Unknown::unknown() {
m5_exit();
}}, No_OpClass);
0x30: initparam({{ Ra = xc->cpu->system->init_param; }});
0x40: resetstats({{ Statistics::reset(); }});
}
}