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

Function normalize

ccan/ccan/strset/tools/speed.c:35–40  ·  view source on GitHub ↗

Nanoseconds per operation */

Source from the content-addressed store, hash-verified

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

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