diff options
| author | Tim Rogers <[email protected]> | 2019-06-19 10:33:43 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-06-19 10:33:43 -0400 |
| commit | a1e2c4273542ca78098c9f4f25eebc087e0aec37 (patch) | |
| tree | 2edd1e7c751b32fe75e392e6a595a0c99ff8b52f /src/gpgpu-sim/mem_latency_stat.cc | |
| parent | aaf29157d28fd5ee9ebdafb86338a28df73e3baf (diff) | |
| parent | 1a0dbc16e1a1959741385345b2bce38fb89c8695 (diff) | |
Merge pull request #96 from CoffeeBeforeArch/AerialVision_cache_support
AerialVision L2 Cache Support
Diffstat (limited to 'src/gpgpu-sim/mem_latency_stat.cc')
| -rw-r--r-- | src/gpgpu-sim/mem_latency_stat.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gpgpu-sim/mem_latency_stat.cc b/src/gpgpu-sim/mem_latency_stat.cc index 7f6cde9..11624f4 100644 --- a/src/gpgpu-sim/mem_latency_stat.cc +++ b/src/gpgpu-sim/mem_latency_stat.cc @@ -129,6 +129,12 @@ memory_stats_t::memory_stats_t( unsigned n_shader, const struct shader_core_conf } } + // AerialVision L2 stats + L2_read_miss = 0; + L2_write_miss = 0; + L2_read_hit = 0; + L2_write_hit = 0; + L2_cbtoL2length = (unsigned int*) calloc(mem_config->m_n_mem, sizeof(unsigned int)); L2_cbtoL2writelength = (unsigned int*) calloc(mem_config->m_n_mem, sizeof(unsigned int)); L2_L2tocblength = (unsigned int*) calloc(mem_config->m_n_mem, sizeof(unsigned int)); |
