1234567891011121314 |
- # patch to fix missing CLK_TCK in glibc 2.4
- --- src/main.c. 2006-04-04 15:05:34.000000000 +0200
- +++ src/main.c 2006-04-04 15:09:20.000000000 +0200
- @@ -439,7 +439,7 @@
- gettimer(TIMEOFDAY,&t);
- return (t.tv_sec+t.tv_nsec/1000000000.0);
- #else
- - return ((double)(times(NULL)))/CLK_TCK;
- + return ((double)(times(NULL)))/CLOCKS_PER_SEC;
- #endif
- }
-
|