aboutsummaryrefslogtreecommitdiff
path: root/qtmips_machine/cache.h
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2018-04-15 10:41:26 +0200
committerKarel Kočí <cynerd@email.cz>2018-04-15 10:41:26 +0200
commit25e85c6eed3c9457568de2d64ebfb32b1edfa0d0 (patch)
treed834962254d1a513bffea6edaa63ec6bbf698ee5 /qtmips_machine/cache.h
parent69aaf6837c9a1da2fea8961159d574023f0c7a6d (diff)
downloadqtmips-25e85c6eed3c9457568de2d64ebfb32b1edfa0d0.tar.gz
qtmips-25e85c6eed3c9457568de2d64ebfb32b1edfa0d0.tar.bz2
qtmips-25e85c6eed3c9457568de2d64ebfb32b1edfa0d0.zip
Show cache statistics in Memory block in coreview
Diffstat (limited to 'qtmips_machine/cache.h')
-rw-r--r--qtmips_machine/cache.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/qtmips_machine/cache.h b/qtmips_machine/cache.h
index 1882c6c..8321bbf 100644
--- a/qtmips_machine/cache.h
+++ b/qtmips_machine/cache.h
@@ -27,6 +27,10 @@ public:
const MachineConfigCache &config() const;
// TODO getters for cells
+signals:
+ void hit_update(unsigned) const;
+ void miss_update(unsigned) const;
+
private:
MachineConfigCache cnf;
Memory *mem;