1

#include

2

int64 get _time(void)

3

{

4

struct timespec t;

5

clock_gettime(CLOCK_MONOTONIC, &t);

6

return t.tv_sec * 1000*1000*1000ULL + t1.tv_nsec;

7

}