line |
true |
false |
branch |
95
|
0 |
376 |
if (-1 == clock_gettime(CLOCK_MONOTONIC, &tp)) { |
108
|
0 |
465 |
assert(NULL != time); |
110
|
341 |
124 |
if (NULL == timeout) { |
115
|
124 |
0 |
if (timeout->tv_sec < 0 || timeout->tv_usec < 0) { |
|
0 |
124 |
if (timeout->tv_sec < 0 || timeout->tv_usec < 0) { |
123
|
0 |
124 |
if (0 == now_ns) { |
128
|
124 |
0 |
if (now_ns > time->time_point_ns || delta_ns > time->time_point_ns) { |
|
0 |
124 |
if (now_ns > time->time_point_ns || delta_ns > time->time_point_ns) { |
138
|
0 |
1017 |
assert(NULL != time); |
140
|
982 |
35 |
if (0 >= seconds) { |
146
|
0 |
35 |
if (0 == now_ns) { |
152
|
35 |
0 |
if (now_ns > time->time_point_ns || delta_ns > time->time_point_ns) { |
|
0 |
35 |
if (now_ns > time->time_point_ns || delta_ns > time->time_point_ns) { |
170
|
310 |
129 |
if (UINT64_MAX == time.time_point_ns) { |
173
|
0 |
129 |
if (0 == time.time_point_ns) { |
178
|
0 |
129 |
if (0 == now_ns) { |
182
|
3 |
126 |
if (now_ns >= time.time_point_ns) { |
197
|
0 |
76 |
assert(in != NULL); |
198
|
0 |
76 |
if (UINT64_MAX == time.time_point_ns) { |
202
|
0 |
76 |
if (0 == time.time_point_ns) { |
210
|
0 |
76 |
if (0 == now_ns) { |
214
|
0 |
76 |
if (now_ns >= time.time_point_ns) { |
231
|
417 |
12 |
if (UINT64_MAX == time.time_point_ns) { |
236
|
0 |
12 |
if (0 == now_ns) { |
240
|
4 |
8 |
if (now_ns > time.time_point_ns) { |
247
|
193 |
1088 |
if (l.time_point_ns < r.time_point_ns) { |