aboutsummaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/dram.cc
diff options
context:
space:
mode:
authorMahmoud <[email protected]>2017-10-27 22:35:52 -0400
committerMahmoud <[email protected]>2017-10-27 22:35:52 -0400
commitf23021ad8663636e1103bd75a742480cb6238435 (patch)
tree1310fb91f6c2d75f0123281d4357f0f9ffc23ff8 /src/gpgpu-sim/dram.cc
parentc1bb3638d2c3a8f1b86e0e952e12bb2ed7f1c0dc (diff)
add more statistics and chaging Pascal config
Diffstat (limited to 'src/gpgpu-sim/dram.cc')
-rw-r--r--src/gpgpu-sim/dram.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gpgpu-sim/dram.cc b/src/gpgpu-sim/dram.cc
index 7ed7b6f..de37f64 100644
--- a/src/gpgpu-sim/dram.cc
+++ b/src/gpgpu-sim/dram.cc
@@ -570,9 +570,10 @@ bool dram_t::issue_col_command(int j)
bkgrp[grp]->RTPLc = m_config->tRTPL;
issued = true;
if(bk[j]->mrq->data->get_access_type() == L2_WR_ALLOC_R)
- n_rd_L2_A++;
+ n_rd_L2_A++;
else
n_rd++;
+
bwutil += m_config->BL/m_config->data_command_freq_ratio;
bwutil_partial += m_config->BL/m_config->data_command_freq_ratio;
bk[j]->n_access++;