| 59 | } |
| 60 | |
| 61 | nano_time_t |
| 62 | getCurrentTime(void) |
| 63 | { |
| 64 | LARGE_INTEGER count; |
| 65 | |
| 66 | if (QueryPerformanceCounter(&count) == FALSE) { |
| 67 | return 0; |
| 68 | } |
| 69 | return (nano_time_t)count.QuadPart; |
| 70 | } |
| 71 | |
| 72 | void |
| 73 | sleepTime(nano_time_t time) { |
no outgoing calls
no test coverage detected