Skip to content

Commit

Permalink
Add D1 Hit/Miss ratio
Browse files Browse the repository at this point in the history
  • Loading branch information
h0lyalg0rithm committed May 13, 2024
1 parent 1975315 commit e00c124
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/DCache.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,10 @@ namespace olympia
"Number of DL1 cache misses",
sparta::Counter::COUNT_NORMAL};

sparta::StatisticDef dl1_hit_miss_ratio_{getStatisticSet(), "dl1_hit_miss_ratio",
"DL1 HIT/MISS Ratio", getStatisticSet(),
"dl1_cache_hits/dl1_cache_misses"};

sparta::Buffer<MSHREntryInfoPtr> mshr_file_;
MSHREntryInfoAllocator & mshr_entry_allocator_;
void allocateMSHREntry_(const MemoryAccessInfoPtr & mem_access_info_ptr);
Expand Down

0 comments on commit e00c124

Please sign in to comment.