summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/gpu-sim.h
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/gpgpu-sim/gpu-sim.h
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/gpgpu-sim/gpu-sim.h')
-rw-r--r--src/gpgpu-sim/gpu-sim.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gpgpu-sim/gpu-sim.h b/src/gpgpu-sim/gpu-sim.h
index 1778008..f9b5dad 100644
--- a/src/gpgpu-sim/gpu-sim.h
+++ b/src/gpgpu-sim/gpu-sim.h
@@ -36,6 +36,7 @@
#include <iostream>
#include <fstream>
#include <list>
+#include <unordered_set>
#include <stdio.h>
@@ -428,6 +429,8 @@ public:
void perf_memcpy_to_gpu( size_t dst_start_addr, size_t count );
+ std::unordered_set<unsigned long long> data_footprint_stats;
+
//The next three functions added to be used by the functional simulation function
//! Get shader core configuration