summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/histogram.h
diff options
context:
space:
mode:
authorTor Aamodt <[email protected]>2010-07-17 10:29:05 -0800
committerTor Aamodt <[email protected]>2010-07-17 10:29:05 -0800
commitd3d0b38b90f14660ecb6243373daa921f8ae02b1 (patch)
tree9211056ccf334f37babafcecc662400bc42d278b /src/gpgpu-sim/histogram.h
parent9b43d5685c269331ea6d15fe3ed0dade063a798a (diff)
integrating Wilson's bugfixes from release branch
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 6869]
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: