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

Function normalize

ccan/ccan/strset/tools/cbspeed.c:384–389  ·  view source on GitHub ↗

Nanoseconds per operation */

Source from the content-addressed store, hash-verified

382
383/* Nanoseconds per operation */
384static size_t normalize(const struct timeabs *start,
385 const struct timeabs *stop,
386 unsigned int num)
387{
388 return time_to_nsec(time_divide(time_between(*stop, *start), num));
389}
390
391int main(int argc, char *argv[])
392{

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