summaryrefslogtreecommitdiff
path: root/src/intersim2/stats.hpp
diff options
context:
space:
mode:
authorMahmoud <[email protected]>2019-06-27 18:15:28 -0400
committerMahmoud <[email protected]>2019-06-27 18:15:28 -0400
commitb40c38d7e4d711b818718ae6e291ce6c108392ec (patch)
tree0c4b63f2ba31391c52d0b17c3613087dec3c1744 /src/intersim2/stats.hpp
parent44ba06730c4e14681eb285e01930148fdd8fabbb (diff)
fixing the booksim id buffer flip assertion
Diffstat (limited to 'src/intersim2/stats.hpp')
-rw-r--r--src/intersim2/stats.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/intersim2/stats.hpp b/src/intersim2/stats.hpp
index 1aaf013..e186f4d 100644
--- a/src/intersim2/stats.hpp
+++ b/src/intersim2/stats.hpp
@@ -62,6 +62,9 @@ public:
inline void AddSample( int val ) {
AddSample( (double)val );
}
+ inline void AddSample( unsigned long long val ) {
+ AddSample( (double)val );
+ }
int GetBin(int b){ return _hist[b];}