23#ifndef PFS_HISTOGRAM_H
24#define PFS_HISTOGRAM_H
35#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:55
struct PFS_histogram_timers g_histogram_pico_timers
Timer values used in histograms.
Definition: pfs_histogram.cc:57
#define NUMBER_OF_BUCKETS
Number of buckets used in histograms.
Definition: pfs_histogram.h:35
Definition: pfs_histogram.h:49
void init()
Definition: pfs_histogram.cc:67
ulonglong m_bucket_timer[NUMBER_OF_BUCKETS+1]
Definition: pfs_histogram.h:50
Definition: pfs_histogram.h:37
std::atomic< ulonglong > m_bucket[NUMBER_OF_BUCKETS]
Definition: pfs_histogram.h:46
ulonglong read_bucket(uint bucket_index)
Definition: pfs_histogram.h:43
void reset()
Definition: pfs_histogram.cc:59
void increment_bucket(uint bucket_index)
Definition: pfs_histogram.h:41
unsigned int uint
Definition: uca9-dump.cc:74