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

Function time_greater_

ccan/ccan/time/time.h:159–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157struct timemono time_mono(void);
158
159static inline bool time_greater_(struct timespec a, struct timespec b)
160{
161 if (TIME_CHECK(a).tv_sec > TIME_CHECK(b).tv_sec)
162 return true;
163 else if (a.tv_sec < b.tv_sec)
164 return false;
165
166 return a.tv_nsec > b.tv_nsec;
167}
168
169/**
170 * time_after - is a after b?

Callers 2

time_afterFunction · 0.85
time_greaterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected