MCPcopy Create free account
hub / github.com/apache/brpc / stop

Method stop

src/butil/time.h:405–407  ·  view source on GitHub ↗

Stop this timer

Source from the content-addressed store, hash-verified

403
404 // Stop this timer
405 void stop() {
406 _stop = cpuwide_time_ns();
407 }
408
409 // Get the elapse from start() to stop(), in various units.
410 int64_t n_elapsed() const { return _stop - _start; }

Callers 10

FeedMethod · 0.45
ExtractSymbolsFromBinaryFunction · 0.45
LoadSymbolsFunction · 0.45
default_methodMethod · 0.45
LockGuardBaseMethod · 0.45
UniqueLockBaseMethod · 0.45
lockMethod · 0.45
try_lockMethod · 0.45
try_lock_forMethod · 0.45
try_lock_untilMethod · 0.45

Calls 1

cpuwide_time_nsFunction · 0.85

Tested by

no test coverage detected