Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
Feed
Method · 0.45
ExtractSymbolsFromBinary
Function · 0.45
LoadSymbols
Function · 0.45
default_method
Method · 0.45
LockGuardBase
Method · 0.45
UniqueLockBase
Method · 0.45
lock
Method · 0.45
try_lock
Method · 0.45
try_lock_for
Method · 0.45
try_lock_until
Method · 0.45
Calls
1
cpuwide_time_ns
Function · 0.85
Tested by
no test coverage detected