MCPcopy Create free account
hub / github.com/AliveToolkit/alive2 / stop

Method stop

util/stopwatch.cpp:21–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19}
20
21void StopWatch::stop() {
22 assert(!stopped);
23 end = now();
24 assert((stopped = true));
25}
26
27float StopWatch::seconds() const {
28 assert(stopped);

Callers 1

~ScopedWatchMethod · 0.80

Calls 1

nowFunction · 0.85

Tested by

no test coverage detected