#include #include int main() { struct timespec ts; printf("%d", clock_gettime(CLOCK_REALTIME, &ts)); printf(" %lld %.9ld\n", (long long)ts.tv_sec, ts.tv_nsec); }