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

Function nstime_iadd

deps/jemalloc/src/nstime.c:58–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58void
59nstime_iadd(nstime_t *time, uint64_t addend) {
60 assert(UINT64_MAX - time->ns >= addend);
61
62 time->ns += addend;
63}
64
65void
66nstime_subtract(nstime_t *time, const nstime_t *subtrahend) {

Callers 2

background_thread_sleepFunction · 0.70
TEST_BEGINFunction · 0.50

Calls

no outgoing calls

Tested by 1

TEST_BEGINFunction · 0.40