summaryrefslogtreecommitdiff
path: root/src/gpgpusim_entrypoint.cc
diff options
context:
space:
mode:
authorAkshay Jain <[email protected]>2018-03-22 04:20:13 -0400
committerAkshay Jain <[email protected]>2018-03-22 04:20:13 -0400
commit777ab7fd6761a6250bc8e4f37994125a3f8d331b (patch)
treebdd53057d454ba5b84d951e2444b71ee5141a93d /src/gpgpusim_entrypoint.cc
parent2d8d4455aa710914e87c5611cbb71f9330cdbc73 (diff)
Change 252 by jain156@akshayj-lt1 on 2017/05/29 10:51:32
Checking in the data footprint stats as reported in the micro paper. The implementation uses gpgpu pointer, due to which I don't feel fine pushing to mainline. May be I can do the stats check and increment in l2cache.cc through a public function to avoid exposing gpgpu pointer to public
Diffstat (limited to 'src/gpgpusim_entrypoint.cc')
-rw-r--r--src/gpgpusim_entrypoint.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gpgpusim_entrypoint.cc b/src/gpgpusim_entrypoint.cc
index ad4587a..1ee980a 100644
--- a/src/gpgpusim_entrypoint.cc
+++ b/src/gpgpusim_entrypoint.cc
@@ -263,6 +263,7 @@ void print_simulation_time()
s = difference - 60*(m + 60*(h + 24*d));
fflush(stderr);
+ printf("gpgpu_data_footprint = %u requests at L2\n", g_the_gpu->data_footprint_stats.size());
printf("\n\ngpgpu_simulation_time = %u days, %u hrs, %u min, %u sec (%u sec)\n",
(unsigned)d, (unsigned)h, (unsigned)m, (unsigned)s, (unsigned)difference );
printf("gpgpu_simulation_rate = %u (inst/sec)\n", (unsigned)(g_the_gpu->gpu_tot_sim_insn / difference) );