From 564de5650af4e54b02f954f47c363ca1da7732f9 Mon Sep 17 00:00:00 2001 From: Tayler Hetherington Date: Mon, 17 Jun 2013 12:19:58 -0800 Subject: 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] --- src/gpgpu-sim/gpu-cache.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gpgpu-sim/gpu-cache.h') 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); -- cgit v1.3