#include <sys/time.h>
#include <cassert>
#include <ostream>
#include "timeval.hxx"
Go to the source code of this file.
Namespaces | |
namespace | olsr |
namespace | olsr::utl |
Defines | |
#define | QOLYESTER_UTL_TIMEVAL_HH 1 |
Typedefs | |
typedef utl::TimeVal | timeval_t |
Functions | |
std::ostream & | operator<< (std::ostream &, const TimeVal &) |
All time operations are done with respect to a current time reference which is synchronized with the system clock in certain well-known locations (e.g. in the event loop). This is mainly to avoid synchronization on each time we want to know the current time. Moreover, this allows to assume that inside some parts of the code, the time reference is the same (read: if you timestamp some objects one after another between two clock synchonizations, you know that the stamps are equal)
|
|
|
|
|
|