diff options
| author | Tayler Hetherington <[email protected]> | 2013-01-27 20:56:31 -0800 |
|---|---|---|
| committer | Andrew Boktor <[email protected]> | 2014-08-14 13:49:24 -0700 |
| commit | b4648b1a1888ec629b5a9a139a34f04e05a40407 (patch) | |
| tree | 8ac7dc8eff1432a0e08741b13d46ad2d30d13f9e /src/gpgpu-sim | |
| parent | 8d8fa45b0fa6bc3afcb65463890c38d1c9255ec0 (diff) | |
Removing legacy code : get_access_stats
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 15118]
Diffstat (limited to 'src/gpgpu-sim')
| -rw-r--r-- | src/gpgpu-sim/dram.cc | 11 | ||||
| -rw-r--r-- | src/gpgpu-sim/dram.h | 3 |
2 files changed, 1 insertions, 13 deletions
diff --git a/src/gpgpu-sim/dram.cc b/src/gpgpu-sim/dram.cc index 3594198..745bec4 100644 --- a/src/gpgpu-sim/dram.cc +++ b/src/gpgpu-sim/dram.cc @@ -419,17 +419,6 @@ void dram_t::cycle() #endif } -void dram_t::get_access_stats(unsigned &total_access, unsigned &total_reads, unsigned &total_writes,unsigned &total_l2_read_access,unsigned &total_l2_read_miss,unsigned &total_l2_write_access,unsigned &total_l2_write_miss ){ - total_access += m_stats->total_n_access; - total_reads += m_stats->total_n_reads; - total_writes += m_stats->total_n_writes; - total_l2_read_access += m_stats->L2_read_access; - total_l2_read_miss += m_stats->L2_read_miss; - total_l2_write_access += m_stats->L2_write_access; - total_l2_write_miss += m_stats->L2_write_miss; - -} - //if mrq is being serviced by dram, gets popped after CL latency fulfilled class mem_fetch* dram_t::pop() { diff --git a/src/gpgpu-sim/dram.h b/src/gpgpu-sim/dram.h index 0e82763..8c0a2b8 100644 --- a/src/gpgpu-sim/dram.h +++ b/src/gpgpu-sim/dram.h @@ -103,7 +103,6 @@ public: bool returnq_full() const; unsigned int queue_limit() const; void visualizer_print( gzFile visualizer_file ); - void get_access_stats(unsigned &total_access, unsigned &total_reads, unsigned &total_writes,unsigned &total_l2_read_hit,unsigned &total_l2_read_miss,unsigned &total_l2_write_hit,unsigned &total_l2_write_miss ); class mem_fetch* pop(); void push( class mem_fetch *data ); @@ -114,7 +113,7 @@ public: unsigned int id; // Power Model - void set_dram_power_stats( unsigned &cmd, + void set_dram_power_stats(unsigned &cmd, unsigned &activity, unsigned &nop, unsigned &act, |
