Oups
This commit is contained in:
parent
0e3c365e4d
commit
6e1f536635
@ -27,7 +27,7 @@ int main(int argc, char *argv[])
|
|||||||
struct timespec tt;
|
struct timespec tt;
|
||||||
|
|
||||||
if (clock_gettime(CLOCK_REALTIME, &tt) < 0) return 1;
|
if (clock_gettime(CLOCK_REALTIME, &tt) < 0) return 1;
|
||||||
double time = tt.tv_sec + tt.tv_nsec / 1000000000.0;\
|
double time = tt.tv_sec + tt.tv_nsec / 1000000000.0;
|
||||||
|
|
||||||
printf("Hello, world! I am %lfs\n", time);
|
printf("Hello, world! I am %lfs\n", time);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user