Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RcppCore/Rcpp
/ Reset
Method
Reset
inst/examples/SugarPerformance/Timer.h:40–40 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
38
cumul += elapsed;
39
}
40
void Reset() { end_t = start_t = elapsed = cumul = 0.0; }
41
double ElapsedTime() { return elapsed; }
42
double CumulativeTime() { return cumul; }
43
Callers
1
main
Function · 0.80
Calls
no outgoing calls
Tested by
1
main
Function · 0.64