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/gpu-sim.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gpgpu-sim/gpu-sim.h') diff --git a/src/gpgpu-sim/gpu-sim.h b/src/gpgpu-sim/gpu-sim.h index cadddac..90f8cb6 100644 --- a/src/gpgpu-sim/gpu-sim.h +++ b/src/gpgpu-sim/gpu-sim.h @@ -414,10 +414,11 @@ private: void reinit_clock_domains(void); int next_clock_domain(void); void issue_block2core(); - void print_dram_L2_stats(FILE *fout) const; + void print_dram_stats(FILE *fout) const; void L2c_print_cache_stat() const; void shader_print_runtime_stat( FILE *fout ); void shader_print_l1_miss_stat( FILE *fout ) const; + void shader_print_cache_stats( FILE *fout ) const; void shader_print_scheduler_stat( FILE* fout, bool print_dynamic_info ) const; void visualizer_printstat(); void print_shader_cycle_distro( FILE *fout ) const; -- cgit v1.3