1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- #pragma once
- #include "stddef.h"
- #define CLOCKS_PER_SEC 1000000
- struct tm
- {
- int tm_sec;
- int tm_min;
- int tm_hour;
- int tm_mday;
- int tm_mon;
- int tm_year;
- int tm_wday;
- int tm_yday;
- int tm_isdst;
- long int __tm_gmtoff;
- const char *__tm_zone;
- };
- struct timespec
- {
- long int tv_sec;
- long long tv_nsec;
- };
- extern int nanosleep(const struct timespec *rqtp, struct timespec *rmtp);
- extern int usleep(useconds_t usec);
- extern uint64_t clock();
|