class Geo::GeoTimer
A simple task timer Construct a GeoTimer, then as each task begins simply create a local GeoTimer::Task object to automatically start and stop the clock.
Data is held for all Task objects created. Tasks can have child tasks that do not stop the parent.
Classes
Name | Description |
---|---|
Geo::GeoTimer::Task | The Task object that the user creates to wrap an activity. |
Functions
Name | Description |
---|---|
NonCopyable(NonCopyable &&) | Defaulted to allow move. |
operator=(NonCopyable &&) | Defaulted to allow move. |
ShowReport(bool) | Display the timing results through GeoPrintf. |
Anchor | ||||
---|---|---|---|---|
|
Geo::NonCopyable::NonCopyable
...
public: NonCopyable
(
NonCopyable &&
)
...
Defaulted to allow move.
Anchor | ||||
---|---|---|---|---|
|
NonCopyable& Geo::NonCopyable::operator=
...
public: NonCopyable & operator=
(
NonCopyable &&
)
...
Defaulted to allow move.
Anchor | ||||
---|---|---|---|---|
|
void Geo::GeoTimer::ShowReport
...
public: void ShowReport
(
bool finishTasks
)
...
Display the timing results through GeoPrintf.
Parameters
finishTasks | [Optional] Should we stop all running tasks (default true) |