Kea 2.7.4
observation.h File Reference
#include <cc/data.h>
#include <exceptions/exceptions.h>
#include <util/bigints.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

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

Typedefs

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

Functions

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