summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/histogram.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpgpu-sim/histogram.h')
-rw-r--r--src/gpgpu-sim/histogram.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gpgpu-sim/histogram.h b/src/gpgpu-sim/histogram.h
index 2d39410..5470050 100644
--- a/src/gpgpu-sim/histogram.h
+++ b/src/gpgpu-sim/histogram.h
@@ -78,6 +78,7 @@ protected:
int *m_bins; // bin boundaries
int *m_bin_cnts; // counters
int m_maximum; // the maximum sample
+ signed long long int m_sum; // for calculating the average
public: