summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/gpu-cache.h
diff options
context:
space:
mode:
authorTayler Hetherington <[email protected]>2013-04-07 22:19:12 -0800
committerAndrew Boktor <[email protected]>2014-08-14 13:50:45 -0700
commit2fd5f159b3729c021ac4fbf8aa54f91c2f3ec166 (patch)
tree96c83248fddc7339973b94c060df4e88f5fe4caf /src/gpgpu-sim/gpu-cache.h
parent2354f2eb755dbda8545c9c7444b922cb229c8fd3 (diff)
Cleaning up the interconnection core to memory partition statistics
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 15745]
Diffstat (limited to 'src/gpgpu-sim/gpu-cache.h')
-rw-r--r--src/gpgpu-sim/gpu-cache.h17
1 files changed, 1 insertions, 16 deletions
diff --git a/src/gpgpu-sim/gpu-cache.h b/src/gpgpu-sim/gpu-cache.h
index 6dce6b4..65183e4 100644
--- a/src/gpgpu-sim/gpu-cache.h
+++ b/src/gpgpu-sim/gpu-cache.h
@@ -425,7 +425,6 @@ public:
m_write_access=0;
m_read_miss=0;
m_write_miss=0;
- n_simt_to_mem=0;
}
virtual ~baseline_cache()
@@ -460,10 +459,6 @@ public:
m_tag_array->get_stats(accesses, misses);
}
- void set_icnt_power_stats(unsigned &simt_to_mem) const{
- simt_to_mem = n_simt_to_mem;
- }
-
protected:
// Constructor that can be used by derived classes with custom tag arrays
baseline_cache( const char *name,
@@ -524,8 +519,6 @@ protected:
unsigned m_write_access;
unsigned m_read_miss;
unsigned m_write_miss;
-
- unsigned n_simt_to_mem; // Interconnect power stats
};
/// Read only cache
@@ -703,7 +696,6 @@ 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
@@ -725,11 +717,7 @@ public:
m_tags.get_stats(accesses, misses);
}
- void set_icnt_power_stats(unsigned &simt_to_mem) const{
- simt_to_mem = n_simt_to_mem;
- }
-
- private:
+private:
std::string m_name;
const cache_config &m_config;
@@ -855,9 +843,6 @@ public:
typedef std::map<mem_fetch*,extra_mf_fields> extra_mf_fields_lookup;
extra_mf_fields_lookup m_extra_mf_fields;
-
- // Interconnect power stats
- unsigned n_simt_to_mem;
};
#endif