summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/l2cache.h
diff options
context:
space:
mode:
authorNick <[email protected]>2019-02-19 18:40:45 -0500
committerNick <[email protected]>2019-02-19 18:40:45 -0500
commit13f07a2c820422db7e4e88e43d692dfe8e1b8cad (patch)
treee0e16e9f83880f9860be0ae846c467e3c8f2dd88 /src/gpgpu-sim/l2cache.h
parent4ed2d9e106d797eeaf5199100984dc7c658cdc1e (diff)
Add initial infrastrucutre to support L2 (and other) cache statistics for AerialVision
Diffstat (limited to 'src/gpgpu-sim/l2cache.h')
-rw-r--r--src/gpgpu-sim/l2cache.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gpgpu-sim/l2cache.h b/src/gpgpu-sim/l2cache.h
index 18c0a8b..57f3e94 100644
--- a/src/gpgpu-sim/l2cache.h
+++ b/src/gpgpu-sim/l2cache.h
@@ -180,6 +180,9 @@ public:
void accumulate_L2cache_stats(class cache_stats &l2_stats) const;
void get_L2cache_sub_stats(struct cache_sub_stats &css) const;
+ // Support for getting per-window L2 stats for AerialVision
+ void get_L2cache_sub_stats_pw(struct cache_sub_stats &css) const;
+
void force_l2_tag_update(new_addr_type addr, unsigned time, mem_access_sector_mask_t mask)
{
m_L2cache->force_tag_access( addr, m_memcpy_cycle_offset + time, mask );