#include <kanzi/core/profiling/interval_profiler_sample_statistics.hpp>
Public Member Functions | |
IntervalProfilerSampleStatistics () | |
Constructor. More... | |
chrono::nanoseconds | calculateAverage () const |
Calculates the average duration of the interval. More... | |
Public Attributes | |
chrono::nanoseconds | m_totalDuration |
The total duration of all intervals. More... | |
chrono::nanoseconds | m_longestInterval |
The longest interval. More... | |
chrono::nanoseconds | m_shortestInterval |
The shortest interval. More... | |
uint64_t | m_numIntervals |
Total number of intervals measured. More... | |
Interval profiler sample statistics.
|
inlineexplicit |
Constructor.
|
inline |
Calculates the average duration of the interval.
chrono::nanoseconds kanzi::IntervalProfilerSampleStatistics::m_totalDuration |
The total duration of all intervals.
chrono::nanoseconds kanzi::IntervalProfilerSampleStatistics::m_longestInterval |
The longest interval.
chrono::nanoseconds kanzi::IntervalProfilerSampleStatistics::m_shortestInterval |
The shortest interval.
uint64_t kanzi::IntervalProfilerSampleStatistics::m_numIntervals |
Total number of intervals measured.