Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | void | - |
8 | gettime (struct timespec *ts) | - |
9 | { | - |
10 | | - |
11 | | - |
12 | | - |
13 | | - |
14 | | - |
15 | if (clock_gettime (TRUE | evaluated 1621 times by 5 tests | FALSE | never evaluated |
| 0-1621 |
16 | 0TRUE | evaluated 1621 times by 5 tests | FALSE | never evaluated |
| 0-1621 |
17 | , ts) == 0TRUE | evaluated 1621 times by 5 tests | FALSE | never evaluated |
) | 0-1621 |
18 | return;executed 1621 times by 5 tests: return; | 1621 |
19 | | - |
20 | | - |
21 | { | - |
22 | struct timeval tv; | - |
23 | gettimeofday (&tv, | - |
24 | ((void *)0) | - |
25 | ); | - |
26 | ts->tv_sec = tv.tv_sec; | - |
27 | ts->tv_nsec = tv.tv_usec * 1000; | - |
28 | } | - |
29 | | - |
30 | | - |
31 | } never executed: end of block | 0 |
| | |