Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
21
void StopWatch::stop() {
22
assert(!stopped);
23
end = now();
24
assert((stopped = true));
25
}
26
27
float StopWatch::seconds() const {
28
assert(stopped);
Callers
1
~ScopedWatch
Method · 0.80
Calls
1
now
Function · 0.85
Tested by
no test coverage detected