library of assembled shared sources |
http://lass.cocamware.com |
#include <clock.h>
Public Types | |
typedef double | TTime |
typedef impl::ClockImpl::TTick | TTick |
Public Member Functions | |
Clock (TTime iStartTime=0) | |
void | reset (TTime iStartTime=0) |
const TTime | time () const |
const TTick | tick () const |
const TTick | frequency () const |
const TTime | resolution () const |
Static Public Member Functions | |
static const std::string | humanize (const TTime &iTime) |
Private Attributes | |
TTime | startTime_ |
TTime | resolution_ |
TTick | startTick_ |
TTick | frequency_ |
Definition at line 57 of file clock.h.
typedef double lass::util::Clock::TTime |
lass::util::Clock::Clock | ( | TTime | iStartTime = 0 |
) | [explicit] |
void lass::util::Clock::reset | ( | TTime | iStartTime = 0 |
) |
Definition at line 60 of file clock.cpp.
References startTick_, startTime_, and tick().
Referenced by Clock().
const TTime lass::util::Clock::time | ( | ) | const [inline] |
Definition at line 67 of file clock.h.
Referenced by lass::util::ProgressIndicator::operator()(), lass::util::StopWatch::start(), lass::util::StopWatch::stop(), and lass::util::StopWatch::time().
const TTick lass::util::Clock::tick | ( | ) | const [inline] |
Definition at line 68 of file clock.h.
References lass::util::impl::ClockImpl::tick().
Referenced by reset().
const std::string lass::util::Clock::humanize | ( | const TTime & | iTime | ) | [static] |
Definition at line 67 of file clock.cpp.
References lass::io::cout().
Referenced by lass::util::ProgressIndicator::operator()().
TTime lass::util::Clock::startTime_ [private] |
TTime lass::util::Clock::resolution_ [private] |
TTick lass::util::Clock::startTick_ [private] |
TTick lass::util::Clock::frequency_ [private] |
Generated on Mon Nov 10 14:22:17 2008 for Library of Assembled Shared Sources by 1.5.7.1 |