MCPcopy Create free account
hub / github.com/chen3feng/toft / StopBenchmarkTiming

Function StopBenchmarkTiming

base/benchmark.cpp:47–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47void StopBenchmarkTiming() {
48 if (begin_time_ns != 0)
49 used_time_ns += RealtimeClock.MicroSeconds() * 1000 - begin_time_ns;
50 begin_time_ns = 0;
51}
52
53void StartBenchmarkTiming() {
54 if (begin_time_ns == 0)

Callers

nothing calls this directly

Calls 1

MicroSecondsMethod · 0.45

Tested by

no test coverage detected