| 447 | } |
| 448 | |
| 449 | extern "C" int clock_gettime(clockid_t _clock, struct timespec* _ts) |
| 450 | { |
| 451 | BX_UNUSED(_clock); |
| 452 | int64_t now = crt0::getHPCounter(); |
| 453 | toTimespecNs(*_ts, now); |
| 454 | return 0; |
| 455 | } |
| 456 | |
| 457 | extern "C" long syscall(long _num, ...) |
| 458 | { |
no test coverage detected