diff options
| -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, |
