1 2 3 4 5 6 7 8 9
#include <time.h> int main(int argc, char **argv) { (void)argc; (void)argv; struct timespec res; clock_gettime(CLOCK_REALTIME, &res); return 0; }