From 9333cfbf261666ac2a3d40b712b6cbb3346d8c00 Mon Sep 17 00:00:00 2001 From: Ahmed El-Shafiey Date: Thu, 20 Dec 2012 20:40:54 -0800 Subject: fixing more bugs in interconnect stats, simt_to_mem related stats were wrongly allocated and not initialized [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 14856] --- src/gpgpu-sim/gpu-cache.h | 2 ++ 1 file changed, 2 insertions(+) (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 783280c..ac5fee8 100644 --- a/src/gpgpu-sim/gpu-cache.h +++ b/src/gpgpu-sim/gpu-cache.h @@ -373,6 +373,7 @@ public: m_write_access=0; m_read_miss=0; m_write_miss=0; + n_simt_to_mem=0; } virtual enum cache_request_status access( new_addr_type addr, mem_fetch *mf, unsigned time, std::list &events ) = 0; @@ -587,6 +588,7 @@ public: m_cache = new data_block[ config.get_num_lines() ]; m_request_queue_status = request_status; m_rob_status = rob_status; + n_simt_to_mem=0; } /// Access function for tex_cache -- cgit v1.3