summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/mem_latency_stat.h
diff options
context:
space:
mode:
authortgrogers <[email protected]>2019-06-19 10:40:40 -0400
committertgrogers <[email protected]>2019-06-19 10:40:40 -0400
commit7e0fd203206a3671cd93b615ef84ec6eec709db1 (patch)
treeede1f545ed628386bbbe689f42d9c5a85e110e21 /src/gpgpu-sim/mem_latency_stat.h
parent48830687ede62b3acaebeba93633255b4d8ec9c8 (diff)
parenta1e2c4273542ca78098c9f4f25eebc087e0aec37 (diff)
Merge remote-tracking branch 'upstream/dev' into dev
Diffstat (limited to 'src/gpgpu-sim/mem_latency_stat.h')
-rw-r--r--src/gpgpu-sim/mem_latency_stat.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gpgpu-sim/mem_latency_stat.h b/src/gpgpu-sim/mem_latency_stat.h
index b86740d..b9285c1 100644
--- a/src/gpgpu-sim/mem_latency_stat.h
+++ b/src/gpgpu-sim/mem_latency_stat.h
@@ -48,6 +48,9 @@ public:
void visualizer_print( gzFile visualizer_file );
+ // Reset local L2 stats that are aggregated each sampling window
+ void clear_L2_stats_pw();
+
unsigned m_n_shader;
const struct shader_core_config *m_shader_config;
@@ -86,6 +89,11 @@ public:
unsigned ***mem_access_type_stats; // dram access type classification
+ // AerialVision L2 stats
+ unsigned L2_read_miss;
+ unsigned L2_write_miss;
+ unsigned L2_read_hit;
+ unsigned L2_write_hit;
// L2 cache stats
unsigned int *L2_cbtoL2length;