libosmscout
0.1
|
Copy of the StopClock implementation but using a high_resolution timer and by default return nano seconds. More...
#include <StopClock.h>
Public Member Functions | |
double | GetNanoseconds () const |
StopClockNano & | operator= (const StopClockNano &)=delete |
StopClockNano & | operator= (StopClockNano &&)=default |
std::string | ResultString () const |
void | Stop () |
StopClockNano () | |
StopClockNano (const StopClockNano &other)=delete | |
StopClockNano (StopClockNano &&)=default | |
~StopClockNano ()=default | |
Friends | |
std::ostream & | operator<< (std::ostream &stream, const StopClockNano &stopClock) |
Copy of the StopClock implementation but using a high_resolution timer and by default return nano seconds.
osmscout::StopClockNano::StopClockNano | ( | ) |
|
default |
|
delete |
|
default |
double osmscout::StopClockNano::GetNanoseconds | ( | ) | const |
Referenced by osmscout::operator<<(), and ResultString().
|
delete |
|
default |
std::string osmscout::StopClockNano::ResultString | ( | ) | const |
References GetNanoseconds().
void osmscout::StopClockNano::Stop | ( | ) |
|
friend |