MCPcopy Create free account
hub / github.com/ElementsProject/lightning / normalize

Function normalize

ccan/ccan/htable/tools/stringspeed.c:37–42  ·  view source on GitHub ↗

Nanoseconds per operation */

Source from the content-addressed store, hash-verified

35
36/* Nanoseconds per operation */
37static size_t normalize(const struct timeabs *start,
38 const struct timeabs *stop,
39 unsigned int num)
40{
41 return time_to_nsec(time_divide(time_between(*stop, *start), num));
42}
43
44int main(int argc, char *argv[])
45{

Callers 1

mainFunction · 0.70

Calls 3

time_to_nsecFunction · 0.85
time_divideFunction · 0.85
time_betweenFunction · 0.85

Tested by

no test coverage detected