2018-06-25 06:11:33 +03:00
|
|
|
#include <time.h>
|
2021-09-02 17:08:18 +03:00
|
|
|
#include <sys/times.h>
|
2018-06-25 06:11:33 +03:00
|
|
|
|
2018-06-25 07:15:09 +03:00
|
|
|
clock_t clock(void) {
|
2021-09-02 17:08:18 +03:00
|
|
|
struct tms timeValues;
|
|
|
|
times(&timeValues);
|
|
|
|
return timeValues.tms_utime;
|
2018-06-25 06:11:33 +03:00
|
|
|
}
|