Permalink
Browse files

Correct conflict misses count

  • Loading branch information...
1 parent 1a01858 commit 8a244d5df0fce16671f4384407081bb06b7d5bfc @pksunkara committed Aug 29, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 Cache.cpp
View
@@ -82,7 +82,7 @@ int Cache::get_capacity_misses(void) {
}
int Cache::get_conflict_misses(void) {
- return this->misses[3];
+ return this->misses[3] - this->misses[2];
}
int Cache::get_cached(int address) {

0 comments on commit 8a244d5

Please sign in to comment.