OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
time_util.h File Reference
#include <sstream>
#include <boost/date_time/posix_time/posix_time.hpp>
#include <boost/date_time/posix_time/posix_time_types.hpp>
Include dependency graph for time_util.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

static uint64_t UTCTimestampUsec ()
 
static time_t UTCTimestamp ()
 
static uint64_t ClockMonotonicUsec ()
 
static boost::posix_time::ptime UTCUsecToPTime (uint64_t tusec)
 
static std::string UTCUsecToString (uint64_t tstamp)
 
static const std::string duration_usecs_to_string (const uint64_t usecs)
 

Function Documentation

static uint64_t ClockMonotonicUsec ( )
inlinestatic

Definition at line 29 of file time_util.h.

static const std::string duration_usecs_to_string ( const uint64_t  usecs)
inlinestatic

Definition at line 62 of file time_util.h.

static time_t UTCTimestamp ( )
inlinestatic

Definition at line 23 of file time_util.h.

static uint64_t UTCTimestampUsec ( )
inlinestatic

Definition at line 13 of file time_util.h.

static boost::posix_time::ptime UTCUsecToPTime ( uint64_t  tusec)
inlinestatic

Definition at line 38 of file time_util.h.

static std::string UTCUsecToString ( uint64_t  tstamp)
inlinestatic

Definition at line 54 of file time_util.h.

Here is the call graph for this function: