Class DummyTimer

Class Documentation

class DummyTimer

A class that has the timer interface but does nothing.

Swapping this in in place of the Timer class (say with a typedef) should allow one to disable timing. Because all of the functions are inline, they should just disappear.

Public Functions

DummyTimer(size_t, bool = false)
DummyTimer(std::string const&, bool = false)
~DummyTimer()
void Start()
void Stop()
bool IsTiming()