Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

NameDescription
Geo::GeoTimer::Task

The Task object that the user creates to wrap an activity.

Functions

NameDescription
ShowReport(bool)

Display the timing results through GeoPrintf.


Anchor
a42a98276c9a05d50461e4f00302dbf28
a42a98276c9a05d50461e4f00302dbf28

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)