MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / timer_stop

Function timer_stop

deps/jemalloc/test/src/timer.c:9–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7}
8
9void
10timer_stop(timedelta_t *timer) {
11 nstime_copy(&timer->t1, &timer->t0);
12 nstime_update(&timer->t1);
13}
14
15uint64_t
16timer_usec(const timedelta_t *timer) {

Callers 3

time_funcFunction · 0.50
test_hookedFunction · 0.50
test_unhookedFunction · 0.50

Calls 1

nstime_copyFunction · 0.50

Tested by

no test coverage detected