mirror of git://sourceware.org/git/glibc.git
(main): Change format, CLOCKS_PER_SEC is now long.
This commit is contained in:
parent
5e20fde1cf
commit
f3acd084c5
|
|
@ -30,7 +30,7 @@ main (int argc, char ** argv)
|
||||||
|
|
||||||
printf ("%ld clock ticks per second (start=%ld,stop=%ld)\n",
|
printf ("%ld clock ticks per second (start=%ld,stop=%ld)\n",
|
||||||
stop - start, start, stop);
|
stop - start, start, stop);
|
||||||
printf ("CLOCKS_PER_SEC=%d, sysconf(_SC_CLK_TCK)=%ld\n",
|
printf ("CLOCKS_PER_SEC=%ld, sysconf(_SC_CLK_TCK)=%ld\n",
|
||||||
CLOCKS_PER_SEC, sysconf(_SC_CLK_TCK));
|
CLOCKS_PER_SEC, sysconf(_SC_CLK_TCK));
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue