Kea 2.7.6
chrono_time_utils.cc File Reference
#include <config.h>
#include <util/chrono_time_utils.h>
#include <sstream>
#include <iomanip>
+ Include dependency graph for chrono_time_utils.cc:

Go to the source code of this file.

Namespaces

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

Functions

std::string isc::util::clockToText (std::chrono::system_clock::time_point t, size_t fsecs_precision=MAX_FSECS_PRECISION)
 Converts chrono time point structure to text.
 
template<typename Duration >
std::string isc::util::durationToText (Duration dur, size_t fsecs_precision=MAX_FSECS_PRECISION)
 Converts StatsDuration to text.
 
template std::string isc::util::durationToText< steady_clock::duration > (steady_clock::duration dur, size_t fsecs_precision)
 
template std::string isc::util::durationToText< system_clock::duration > (system_clock::duration dur, size_t fsecs_precision)