From b90f5f6d42e91fe5e093ed2656c1b64fc3257469 Mon Sep 17 00:00:00 2001 From: Tayler Hetherington Date: Sun, 16 Jun 2013 12:26:07 -0800 Subject: Review: 33001. Updating/cleaning up the cache statistics. Moving the statistics from the tag array to the cache access functions. Added cache_stats class to record all memory accesses and access outcomes to each cache. Removed L2CacheAccessBreakdown_t. Cleaned up power_stats to reflect changes in the cache stats. Updated the cache stats printing. This will cause the performance gold files to change as the output format has been changed. [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 16452] --- src/gpgpu-sim/mem_latency_stat.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/gpgpu-sim/mem_latency_stat.h') diff --git a/src/gpgpu-sim/mem_latency_stat.h b/src/gpgpu-sim/mem_latency_stat.h index 4bfb165..4968a3b 100644 --- a/src/gpgpu-sim/mem_latency_stat.h +++ b/src/gpgpu-sim/mem_latency_stat.h @@ -40,13 +40,11 @@ public: unsigned memlatstat_done( class mem_fetch *mf ); void memlatstat_read_done( class mem_fetch *mf ); - void memlatstat_L2cache_access( class mem_fetch *mf, int access_outcome ); void memlatstat_dram_access( class mem_fetch *mf ); void memlatstat_icnt2mem_pop( class mem_fetch *mf); void memlatstat_lat_pw(); void memlatstat_print(unsigned n_mem, unsigned gpu_mem_n_bk); - void print_L2cache_stats( FILE *fp ); void visualizer_print( gzFile visualizer_file ); unsigned m_n_shader; @@ -84,12 +82,6 @@ public: // L2 cache stats - typedef std::map > L2CacheAccessBreakdown_t; // - L2CacheAccessBreakdown_t m_L2CacheAccessBreakdown; - // unsigned L2_write_access; - // unsigned L2_write_miss; - // unsigned L2_read_access; - // unsigned L2_read_miss; unsigned int *L2_cbtoL2length; unsigned int *L2_cbtoL2writelength; unsigned int *L2_L2tocblength; -- cgit v1.3