diff options
author | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-03-25 00:20:05 +0100 |
---|---|---|
committer | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-03-25 00:20:05 +0100 |
commit | 7666c09923bfc56132e9332133650a256a478c14 (patch) | |
tree | 90efbbeddd8a3291d7ea831028d23404157116c9 /qtmips_cli/reporter.h | |
parent | 742d48d1462523c89087551e683e824f922bb629 (diff) | |
download | qtmips-7666c09923bfc56132e9332133650a256a478c14.tar.gz qtmips-7666c09923bfc56132e9332133650a256a478c14.tar.bz2 qtmips-7666c09923bfc56132e9332133650a256a478c14.zip |
qtmips_cli: include dump of cache statistic in command line tool.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_cli/reporter.h')
-rw-r--r-- | qtmips_cli/reporter.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qtmips_cli/reporter.h b/qtmips_cli/reporter.h index d5c67ed..2dfaea9 100644 --- a/qtmips_cli/reporter.h +++ b/qtmips_cli/reporter.h @@ -46,7 +46,7 @@ public: Reporter(QCoreApplication *app, machine::QtMipsMachine *machine); void regs(); // Report status of registers - // TODO + void cache_stats(); enum FailReason { FR_I = (1<<0), // Unsupported Instruction @@ -68,6 +68,7 @@ private: machine::QtMipsMachine *machine; bool e_regs; + bool e_cache_stats; enum FailReason e_fail; void report(); |