summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortgrogers <[email protected]>2018-03-30 16:20:36 -0400
committertgrogers <[email protected]>2018-03-30 16:20:36 -0400
commit9b586f9a61cac16b147e6dfea62abecc0a2a8eb7 (patch)
tree5d3ed833be07c62a5e74476f02f7961b7478e4c7
parent2bb877ad3ade079b0e78b0112cf686d3fb015fb7 (diff)
Moving the print to avoid spurrious statistics
-rw-r--r--src/gpgpusim_entrypoint.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpgpusim_entrypoint.cc b/src/gpgpusim_entrypoint.cc
index ad4587a..dac9fd8 100644
--- a/src/gpgpusim_entrypoint.cc
+++ b/src/gpgpusim_entrypoint.cc
@@ -156,8 +156,8 @@ void *gpgpu_sim_thread_concurrent(void*)
printf("GPGPU-Sim: ** STOP simulation thread (no work) **\n");
fflush(stdout);
}
- g_the_gpu->print_stats();
if(sim_cycles) {
+ g_the_gpu->print_stats();
g_the_gpu->update_stats();
print_simulation_time();
}