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
NonCopyable(NonCopyable &&)

Defaulted to allow move.

operator=(NonCopyable &&)

Defaulted to allow move.

ShowReport(bool)

Display the timing results through GeoPrintf.


Anchor
adaed81b4c59f263dcb4e78c4126f4683
adaed81b4c59f263dcb4e78c4126f4683

Geo::NonCopyable::NonCopyable

...

public: NonCopyable
(
    NonCopyable &&
)

...

Defaulted to allow move.


Anchor
a6abc781e23b8f4864e0b868806e0acbf
a6abc781e23b8f4864e0b868806e0acbf

NonCopyable& Geo::NonCopyable::operator=

...

public: NonCopyable & operator=
(
    NonCopyable &&
)

...

Defaulted to allow move.


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)