MCPcopy Create free account
hub / github.com/RcppCore/Rcpp / Start

Method Start

inst/examples/SugarPerformance/Timer.h:34–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32public:
33 Timer() : sys_time("Sys.time") { Reset(); }
34 void Start() { start_t = getFractionalSeconds() ; }
35 void Stop() {
36 end_t = getFractionalSeconds();
37 elapsed = end_t - start_t; // Calculate elapsed time in seconds

Callers 1

mainFunction · 0.80

Calls

no outgoing calls

Tested by 1

mainFunction · 0.64