Go to the documentation of this file.
29 #ifndef __MEM_RUBY_COMMON_HISTOGRAM_HH__
30 #define __MEM_RUBY_COMMON_HISTOGRAM_HH__
40 Histogram(
int binsize = 1, uint32_t bins = 50);
43 void add(int64_t value);
48 void clear(uint32_t bins);
49 void clear(
int binsize, uint32_t bins);
61 void print(std::ostream& out)
const;
86 #endif // __MEM_RUBY_COMMON_HISTOGRAM_HH__
uint64_t getData(int index) const
std::ostream & operator<<(std::ostream &out, const Histogram &obj)
uint64_t getSquaredTotal() const
void printPercent(std::ostream &out) const
std::vector< uint64_t > m_data
Histogram(int binsize=1, uint32_t bins=50)
bool node_less_then_eq(const Histogram *n1, const Histogram *n2)
uint64_t m_sumSquaredSamples
void print(std::ostream &out) const
void printWithMultiplier(std::ostream &out, double multiplier) const
double getStandardDeviation() const
Generated on Wed Sep 30 2020 14:02:13 for gem5 by doxygen 1.8.17