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

Function nstime_sec

deps/jemalloc/src/nstime.c:31–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29}
30
31uint64_t
32nstime_sec(const nstime_t *time) {
33 return time->ns / BILLION;
34}
35
36uint64_t
37nstime_nsec(const nstime_t *time) {

Callers 4

background_thread_sleepFunction · 0.70
nstime.cFile · 0.50
TEST_BEGINFunction · 0.50
TEST_BEGINFunction · 0.50

Calls

no outgoing calls

Tested by 2

TEST_BEGINFunction · 0.40
TEST_BEGINFunction · 0.40