aboutsummaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/shader.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpgpu-sim/shader.h')
-rw-r--r--src/gpgpu-sim/shader.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gpgpu-sim/shader.h b/src/gpgpu-sim/shader.h
index 5b41c06..2475677 100644
--- a/src/gpgpu-sim/shader.h
+++ b/src/gpgpu-sim/shader.h
@@ -1470,6 +1470,10 @@ struct shader_core_stats_pod {
int gpgpu_n_mem_read_global;
int gpgpu_n_mem_write_global;
int gpgpu_n_mem_read_inst;
+
+ //warps memory divergence count
+ unsigned long long gpgpu_n_times_gmem_accesses_by_warps;
+ unsigned long long gpgpu_n_total_gmem_accesses_by_warps;
int gpgpu_n_mem_l2_writeback;
int gpgpu_n_mem_l1_write_allocate;