| 105 | |
| 106 | #ifdef __MACOS |
| 107 | int clock_gettime(int clock_id, struct timespec *tp) |
| 108 | { |
| 109 | struct timeval tv; |
| 110 | int retval = gettimeofday (&tv, NULL); |
| 111 | if (retval == 0) |
| 112 | TIMEVAL_TO_TIMESPEC (&tv, tp); // Convert into `timespec'. |
| 113 | return retval; |
| 114 | } |
| 115 | #endif |
| 116 | |
| 117 | #define MIN_CHUNK 64 |
no outgoing calls
no test coverage detected