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

Function time_sub

ccan/ccan/time/time.h:369–375  ·  view source on GitHub ↗

* time_sub - subtract two relative times * @a: the larger time. * @b: the smaller time. * * This returns a well formed struct timerel of @a - @b. */

Source from the content-addressed store, hash-verified

367 * This returns a well formed struct timerel of @a - @b.
368 */
369static inline struct timerel time_sub(struct timerel a, struct timerel b)
370{
371 struct timerel t;
372
373 t.ts = time_sub_(a.ts, b.ts);
374 return t;
375}
376
377/**
378 * time_between - time between two absolute times

Callers 7

secret_time_testFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85

Calls 1

time_sub_Function · 0.85

Tested by 2

secret_time_testFunction · 0.68
mainFunction · 0.68