From 25e85c6eed3c9457568de2d64ebfb32b1edfa0d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sun, 15 Apr 2018 10:41:26 +0200 Subject: Show cache statistics in Memory block in coreview --- qtmips_machine/cache.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'qtmips_machine/cache.h') 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; -- cgit v1.2.3