diff options
| author | tgrogers <[email protected]> | 2018-03-30 16:10:27 -0400 |
|---|---|---|
| committer | tgrogers <[email protected]> | 2018-03-30 16:10:27 -0400 |
| commit | 6aba79083ec47a78ad2a9572a03cd52f42141def (patch) | |
| tree | 4d5ebf65bd9737ca8f5541e44e7134d02acf6798 /src/gpgpusim_entrypoint.cc | |
| parent | 21ac2041365dc8521a6926244b96e85fd19cc2d3 (diff) | |
When CDP was added - we started printing garbage stats after every memcpy. I am stopping this by gaurding against it in the same way we do for updating the stat counts (checking if we have executed any cycles before printing). I am not sure what this does to CDP stat prints - as I am not sure what CDP kernels so to sim_cycles.... However EVERY other app except CDP is spewing junk to the output and it really messes up any per-kernel stat collection scripts.
Diffstat (limited to 'src/gpgpusim_entrypoint.cc')
| -rw-r--r-- | src/gpgpusim_entrypoint.cc | 2 |
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(); } |
