Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
31
uint64_t
32
nstime_sec(const nstime_t *time) {
33
return time->ns / BILLION;
34
}
35
36
uint64_t
37
nstime_nsec(const nstime_t *time) {
Callers
4
background_thread_sleep
Function · 0.70
nstime.c
File · 0.50
TEST_BEGIN
Function · 0.50
TEST_BEGIN
Function · 0.50
Calls
no outgoing calls
Tested by
2
TEST_BEGIN
Function · 0.40
TEST_BEGIN
Function · 0.40