Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ timemono_from_nsec
Function
timemono_from_nsec
ccan/ccan/timer/test/run-allocator.c:26–30 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
24
}
25
26
static struct timemono timemono_from_nsec(unsigned long long nsec)
27
{
28
struct timemono epoch = { { 0, 0 } };
29
return timemono_add(epoch, time_from_nsec(nsec));
30
}
31
32
int main(void)
33
{
Callers
1
main
Function · 0.70
Calls
2
timemono_add
Function · 0.85
time_from_nsec
Function · 0.85
Tested by
no test coverage detected