NCBI C++ ToolKit
|
Search Toolkit Book for CTimeSeriesBase
#include "time_series_stat.hpp"
(Private to src/app/pubseq_gateway/server
.)
Public Member Functions | |
CTimeSeriesBase () | |
virtual void | Rotate (void)=0 |
virtual void | Reset (void)=0 |
void | GetLoopAndIndex (bool &loop, size_t ¤t_index) const |
Protected Types | |
enum | EPSGS_SkipCheckResult { ePSGS_SkipBegin , ePSGS_SkipEnd , ePSGS_DontSkip } |
Protected Member Functions | |
EPSGS_SkipCheckResult | CheckToSkip (int most_ancient_time, int most_recent_time, ssize_t current_values_start_sec, ssize_t current_values_end_sec) const |
Protected Attributes | |
atomic_uint_fast64_t | m_TotalMinutesCollected |
bool | m_Loop |
atomic_uint_fast64_t | m_CurrentIndex |
Definition at line 50 of file time_series_stat.hpp.
|
protected |
Enumerator | |
---|---|
ePSGS_SkipBegin | |
ePSGS_SkipEnd | |
ePSGS_DontSkip |
Definition at line 69 of file time_series_stat.hpp.
CTimeSeriesBase::CTimeSeriesBase | ( | ) |
Definition at line 43 of file time_series_stat.cpp.
|
protected |
Definition at line 51 of file time_series_stat.cpp.
Referenced by CMonotonicCounterSeries::x_SerializeOneSeries(), CProcessorRequestTimeSeries::x_SerializeOneSeries(), CMomentousCounterSeries::x_SerializeOneSeries(), and CAvgPerformanceSeries::x_SerializeOneSeries().
|
inline |
Definition at line 62 of file time_series_stat.hpp.
References m_CurrentIndex, and m_Loop.
Referenced by COperationTiming::Serialize().
|
pure virtual |
Implemented in CRequestTimeSeries, CProcessorRequestTimeSeries, CMonotonicCounterSeries, CAvgPerformanceSeries, and CMomentousCounterSeries.
|
pure virtual |
Implemented in CRequestTimeSeries, CProcessorRequestTimeSeries, CMonotonicCounterSeries, CAvgPerformanceSeries, and CMomentousCounterSeries.
|
protected |
Definition at line 100 of file time_series_stat.hpp.
Referenced by CRequestTimeSeries::Add(), CMonotonicCounterSeries::Add(), CProcessorRequestTimeSeries::Add(), GetLoopAndIndex(), CMomentousCounterSeries::Reset(), CAvgPerformanceSeries::Reset(), CMonotonicCounterSeries::Reset(), CProcessorRequestTimeSeries::Reset(), CRequestTimeSeries::Reset(), CMomentousCounterSeries::Rotate(), CAvgPerformanceSeries::Rotate(), CMonotonicCounterSeries::Rotate(), CProcessorRequestTimeSeries::Rotate(), and CRequestTimeSeries::Rotate().
|
protected |
Definition at line 84 of file time_series_stat.hpp.
Referenced by GetLoopAndIndex(), CMomentousCounterSeries::Reset(), CAvgPerformanceSeries::Reset(), CMonotonicCounterSeries::Reset(), CProcessorRequestTimeSeries::Reset(), CRequestTimeSeries::Reset(), CMomentousCounterSeries::Rotate(), CAvgPerformanceSeries::Rotate(), CMonotonicCounterSeries::Rotate(), CProcessorRequestTimeSeries::Rotate(), and CRequestTimeSeries::Rotate().
|
protected |
Definition at line 81 of file time_series_stat.hpp.
Referenced by CMomentousCounterSeries::Reset(), CAvgPerformanceSeries::Reset(), CMonotonicCounterSeries::Reset(), CProcessorRequestTimeSeries::Reset(), CRequestTimeSeries::Reset(), CMomentousCounterSeries::Rotate(), CAvgPerformanceSeries::Rotate(), CMonotonicCounterSeries::Rotate(), CProcessorRequestTimeSeries::Rotate(), CRequestTimeSeries::Rotate(), CMonotonicCounterSeries::x_SerializeOneSeries(), CProcessorRequestTimeSeries::x_SerializeOneSeries(), and CMomentousCounterSeries::x_SerializeOneSeries().