summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/l2cache.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/l2cache.cc
parentc1bb3638d2c3a8f1b86e0e952e12bb2ed7f1c0dc (diff)
add more statistics and chaging Pascal config
Diffstat (limited to 'src/gpgpu-sim/l2cache.cc')
-rw-r--r--src/gpgpu-sim/l2cache.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpgpu-sim/l2cache.cc b/src/gpgpu-sim/l2cache.cc
index cac59f1..8fbf448 100644
--- a/src/gpgpu-sim/l2cache.cc
+++ b/src/gpgpu-sim/l2cache.cc
@@ -628,6 +628,7 @@ std::vector<mem_fetch*> memory_sub_partition::breakdown_request_to_sector_reques
void memory_sub_partition::push( mem_fetch* m_req, unsigned long long cycle )
{
if (m_req) {
+ m_stats->memlatstat_icnt2mem_pop(m_req);
std::vector<mem_fetch*> reqs;
if(m_config->m_L2_config.m_cache_type == SECTOR)
reqs = breakdown_request_to_sector_requests(m_req);
@@ -637,7 +638,6 @@ void memory_sub_partition::push( mem_fetch* m_req, unsigned long long cycle )
for(unsigned i=0; i<reqs.size(); ++i) {
mem_fetch* req = reqs[i];
m_request_tracker.insert(req);
- m_stats->memlatstat_icnt2mem_pop(req);
if( req->istexture() ) {
m_icnt_L2_queue->push(req);
req->set_status(IN_PARTITION_ICNT_TO_L2_QUEUE,gpu_sim_cycle+gpu_tot_sim_cycle);