summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan <[email protected]>2018-05-28 14:40:19 -0700
committerJonathan <[email protected]>2018-05-28 14:40:19 -0700
commit89177651e85312fbc841391121908a5e92280881 (patch)
tree1e14d4c01d5cbd334b09384b5603d98667c65f56
parent2778712a298a58be4a5abaa28f45805eb3c027c6 (diff)
better print statements for debugging stream_wait_event op
-rw-r--r--src/stream_manager.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/stream_manager.cc b/src/stream_manager.cc
index 1b8ebb1..547e06b 100644
--- a/src/stream_manager.cc
+++ b/src/stream_manager.cc
@@ -188,16 +188,14 @@ bool stream_operation::do_operation( gpgpu_sim *gpu )
}
break;
case stream_event: {
- if(g_debug_execution >= 3)
- printf("event update\n");
+ printf("event update\n");
time_t wallclock = time((time_t *)NULL);
m_event->update( gpu_tot_sim_cycle, wallclock );
m_stream->record_next_done();
}
break;
case stream_wait_event: {
- if(g_debug_execution >= 3)
- printf("stream wait event\n");
+ printf("stream wait event processing...\n");
if(m_event->done())
printf("stream wait event done\n");
m_stream->record_next_done();