Lines Matching defs:StopWatch
53 struct StopWatch struct
62 auto sw = StopWatch(AutoStart.yes); argument
91 Constructs a StopWatch. Whether it starts immediately depends on the argument
109 auto sw = StopWatch(AutoStart.yes); argument
115 auto sw = StopWatch(AutoStart.no); argument
121 StopWatch sw; argument
150 auto sw = StopWatch(AutoStart.yes); argument
162 auto sw = StopWatch(AutoStart.yes); argument
180 Starts the StopWatch. argument
185 in { assert(!_running, "start was called when the StopWatch was already running."); } in start() argument
197 StopWatch sw; argument
213 in { assert(_running, "stop was called when the StopWatch was not running."); } in stop() argument
225 auto sw = StopWatch(AutoStart.yes); argument
262 auto sw = StopWatch(AutoStart.no); argument
307 StopWatch sw; argument
333 StopWatch sw; argument
348 …MonoTime _timeStarted; // The time the StopWatch started measuring (i.e. when it was started or re… argument
349 long _ticksElapsed; // Total time that the StopWatch ran before it was stopped last. argument