| 42 | } |
| 43 | |
| 44 | void xs_time_ticks(xsMachine *the) |
| 45 | { |
| 46 | c_timeval tv; |
| 47 | c_gettimeofday(&tv, NULL); |
| 48 | xsResult = xsNumber((uint32_t)(uint64_t)(((double)(tv.tv_sec) * 1000.0) + ((double)(tv.tv_usec) / 1000.0))); |
| 49 | } |
| 50 | |
| 51 | void xs_time_delta(xsMachine *the) |
| 52 | { |
nothing calls this directly
no test coverage detected