# opentl::core::util::Timer Class Reference

List of all members.

## Public Member Functions
double | elapsed () const
void | start ()
void | stop ()
| Timer ()
virtual | ~Timer ()
## Static Public Member Functions
static double | now ()
static void | sleep (unsigned int seconds)

## Constructor & Destructor Documentation

opentl::core::util::Timer::Timer | ( |  | ) | `[inline, explicit]`

virtual opentl::core::util::Timer::~Timer | ( |  | ) | `[inline, virtual]`

## Member Function Documentation

double opentl::core::util::Timer::elapsed | ( |  | ) | const`[inline]`

Returns:
  elapsed time [s]

static double opentl::core::util::Timer::now | ( |  | ) | `[inline, static]`

Returns:
  seconds since 1970-01-01 00:00:00 UTC [s]

static void opentl::core::util::Timer::sleep | ( | unsigned int | seconds | ) | `[inline, static]`

void opentl::core::util::Timer::start | ( |  | ) | `[inline]`

void opentl::core::util::Timer::stop | ( |  | ) | `[inline]`