summaryrefslogtreecommitdiff
path: root/src/stream_manager.cc
diff options
context:
space:
mode:
authorMahmoud <[email protected]>2019-05-15 20:16:54 -0400
committerMahmoud <[email protected]>2019-05-15 20:16:54 -0400
commit0c16df3c8b108d8720846bb44b9abcc60ddf42f9 (patch)
tree9f85dd6f6928ba0d1b1697b541c11b4acffe5f40 /src/stream_manager.cc
parent7815b7ee86d4716e7133d91dd0c53d41580861b0 (diff)
make gpu_tot_cycle local variable not global variable
Diffstat (limited to 'src/stream_manager.cc')
-rw-r--r--src/stream_manager.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stream_manager.cc b/src/stream_manager.cc
index 6cd62a2..e07f4e4 100644
--- a/src/stream_manager.cc
+++ b/src/stream_manager.cc
@@ -190,7 +190,7 @@ bool stream_operation::do_operation( gpgpu_sim *gpu )
case stream_event: {
printf("event update\n");
time_t wallclock = time((time_t *)NULL);
- m_event->update( gpu_tot_sim_cycle, wallclock );
+ m_event->update( gpu->gpu_tot_sim_cycle, wallclock );
m_stream->record_next_done();
}
break;