Kea
1.9.9-git
|
Classes | |
class | DuplicateStat |
Exception indicating that a given statistic is duplicated. More... | |
class | InvalidStatType |
Exception thrown if invalid statistic type is used. More... | |
class | Observation |
Represents a single observable characteristic (a 'statistic') More... | |
struct | StatContext |
Statistics context. More... | |
class | StatsMgr |
Statistics Manager class. More... | |
Typedefs | |
typedef std::pair< StatsDuration, SampleClock::time_point > | DurationSample |
Time Duration. More... | |
typedef std::pair< double, SampleClock::time_point > | FloatSample |
Float (implemented as double precision) More... | |
typedef std::pair< int64_t, SampleClock::time_point > | IntegerSample |
Integer (implemented as signed 64-bit integer) More... | |
typedef boost::shared_ptr< Observation > | ObservationPtr |
Observation pointer. More... | |
typedef std::chrono::system_clock | SampleClock |
Define clock type. More... | |
typedef boost::shared_ptr< StatContext > | StatContextPtr |
Pointer to the statistics context. More... | |
typedef std::chrono::system_clock::duration | StatsDuration |
Defines duration type. More... | |
typedef std::pair< std::string, SampleClock::time_point > | StringSample |
String. More... | |
Functions | |
long | toSeconds (const StatsDuration &dur) |
Returns the number of seconds in a duration. More... | |
typedef boost::shared_ptr<Observation> isc::stats::ObservationPtr |
Observation pointer.
Definition at line 440 of file observation.h.
typedef std::chrono::system_clock isc::stats::SampleClock |
Define clock type.
Definition at line 34 of file observation.h.
typedef boost::shared_ptr<StatContext> isc::stats::StatContextPtr |
typedef std::chrono::system_clock::duration isc::stats::StatsDuration |
Defines duration type.
Definition at line 39 of file observation.h.
|
inline |
Returns the number of seconds in a duration.
dur | The duration. |
Definition at line 45 of file observation.h.