aboutsummaryrefslogtreecommitdiff
path: root/qtmips_machine/cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'qtmips_machine/cache.h')
-rw-r--r--qtmips_machine/cache.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/qtmips_machine/cache.h b/qtmips_machine/cache.h
index 8fe7475..1882c6c 100644
--- a/qtmips_machine/cache.h
+++ b/qtmips_machine/cache.h
@@ -16,7 +16,8 @@ public:
void wword(std::uint32_t address, std::uint32_t value);
std::uint32_t rword(std::uint32_t address) const;
- void flush(); // flush/sync cache
+ void flush(); // flush cache
+ void sync(); // Same as flush
unsigned hit() const; // Number of recorded hits
unsigned miss() const; // Number of recorded misses