diff options
| author | Tayler Hetherington <[email protected]> | 2013-06-17 12:19:58 -0800 |
|---|---|---|
| committer | Andrew Boktor <[email protected]> | 2014-08-14 13:50:47 -0700 |
| commit | 564de5650af4e54b02f954f47c363ca1da7732f9 (patch) | |
| tree | b8627488d25efd5627a1affff78f2f43b66de527 /src/gpgpu-sim/gpu-cache.h | |
| parent | 1be8cf3b6a5466df1893891b40a4185dc234bd47 (diff) | |
Fixing pending_hit bug (Access is supposed to return MISS, but stats should increment HIT_RESERVED). Reviewed in person by Tim.
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 16460]
Diffstat (limited to 'src/gpgpu-sim/gpu-cache.h')
| -rw-r--r-- | src/gpgpu-sim/gpu-cache.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gpgpu-sim/gpu-cache.h b/src/gpgpu-sim/gpu-cache.h index 27b4208..011b1f5 100644 --- a/src/gpgpu-sim/gpu-cache.h +++ b/src/gpgpu-sim/gpu-cache.h @@ -460,6 +460,7 @@ public: cache_stats(); void clear(); void inc_stats(int access_type, int access_outcome); + enum cache_request_status select_stats_status(enum cache_request_status probe, enum cache_request_status access) const; unsigned &operator()(int access_type, int access_outcome); unsigned operator()(int access_type, int access_outcome) const; cache_stats operator+(const cache_stats &cs); |
