45#ifndef LASS_GUARDIAN_OF_INCLUSION_UTIL_CLOCK_H
46#define LASS_GUARDIAN_OF_INCLUSION_UTIL_CLOCK_H
62 typedef impl::ClockImpl::TTick TTick;
64 explicit Clock(TTime iStartTime = 0);
65 void reset(TTime iStartTime = 0);
67 TTime time()
const {
return startTime_ + resolution_ *
static_cast<double>(this->tick()); }
68 TTick tick()
const {
return impl::ClockImpl::tick() - startTick_; }
70 TTick frequency()
const {
return frequency_; }
71 TTime resolution()
const {
return resolution_; }
73 static const std::string humanize(
const TTime& iTime);
#define LASS_DLL
DLL interface: import or export symbols?
general utility, debug facilities, ...
Library for Assembled Shared Sources.