24#ifndef PFS_HISTOGRAM_H
25#define PFS_HISTOGRAM_H
36#define NUMBER_OF_BUCKETS 450
Header for compiler-dependent features.
Some integer typedefs for easier portability.
unsigned long long int ulonglong
Definition: my_inttypes.h:56
struct PFS_histogram_timers g_histogram_pico_timers
Timer values used in histograms.
Definition: pfs_histogram.cc:58
#define NUMBER_OF_BUCKETS
Number of buckets used in histograms.
Definition: pfs_histogram.h:36
Definition: pfs_histogram.h:50
void init()
Definition: pfs_histogram.cc:68
ulonglong m_bucket_timer[NUMBER_OF_BUCKETS+1]
Definition: pfs_histogram.h:51
Definition: pfs_histogram.h:38
std::atomic< ulonglong > m_bucket[NUMBER_OF_BUCKETS]
Definition: pfs_histogram.h:47
ulonglong read_bucket(uint bucket_index)
Definition: pfs_histogram.h:44
void reset()
Definition: pfs_histogram.cc:60
void increment_bucket(uint bucket_index)
Definition: pfs_histogram.h:42