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

Function timer_start

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

Source from the content-addressed store, hash-verified

1#include "test/jemalloc_test.h"
2
3void
4timer_start(timedelta_t *timer) {
5 nstime_init(&timer->t0, 0);
6 nstime_update(&timer->t0);
7}
8
9void
10timer_stop(timedelta_t *timer) {

Callers 3

time_funcFunction · 0.50
test_hookedFunction · 0.50
test_unhookedFunction · 0.50

Calls 1

nstime_initFunction · 0.50

Tested by

no test coverage detected