aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--riscv/cachesim.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/riscv/cachesim.h b/riscv/cachesim.h
index d7046f9..7271954 100644
--- a/riscv/cachesim.h
+++ b/riscv/cachesim.h
@@ -100,6 +100,10 @@ class cache_memtracer_t : public memtracer_t
{
cache->set_log(log);
}
+ void print_stats()
+ {
+ cache->print_stats();
+ }
protected:
cache_sim_t* cache;