Kea  2.1.7-git
observation.h File Reference
#include <cc/data.h>
#include <exceptions/exceptions.h>
#include <boost/shared_ptr.hpp>
#include <chrono>
#include <list>
#include <stdint.h>
+ Include dependency graph for observation.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  isc::stats::InvalidStatType
 Exception thrown if invalid statistic type is used. More...
 
class  isc::stats::Observation
 Represents a single observable characteristic (a 'statistic') More...
 

Namespaces

 isc
 Defines the logger used by the top-level component of kea-lfc.
 
 isc::stats
 

Typedefs

typedef std::pair< StatsDuration, SampleClock::time_point > isc::stats::DurationSample
 Time Duration. More...
 
typedef std::pair< double, SampleClock::time_point > isc::stats::FloatSample
 Float (implemented as double precision) More...
 
typedef std::pair< int64_t, SampleClock::time_point > isc::stats::IntegerSample
 Integer (implemented as signed 64-bit integer) More...
 
typedef boost::shared_ptr< Observation > isc::stats::ObservationPtr
 Observation pointer. More...
 
typedef std::chrono::system_clock isc::stats::SampleClock
 Define clock type. More...
 
typedef std::chrono::system_clock::duration isc::stats::StatsDuration
 Defines duration type. More...
 
typedef std::pair< std::string, SampleClock::time_point > isc::stats::StringSample
 String. More...
 

Functions

long isc::stats::toSeconds (const StatsDuration &dur)
 Returns the number of seconds in a duration. More...