Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
9
void
10
timer_stop(timedelta_t *timer) {
11
nstime_copy(&timer->t1, &timer->t0);
12
nstime_update(&timer->t1);
13
}
14
15
uint64_t
16
timer_usec(const timedelta_t *timer) {
Callers
3
time_func
Function · 0.50
test_hooked
Function · 0.50
test_unhooked
Function · 0.50
Calls
1
nstime_copy
Function · 0.50
Tested by
no test coverage detected