6 volatile int gotit
= 0;
9 alarm_handler (int signal
)
16 main (int argc
, char ** argv
)
20 signal(SIGALRM
, alarm_handler
);
26 printf ("%ld clock ticks per second (start=%ld,stop=%ld)\n",
27 stop
- start
, start
, stop
);
28 printf ("CLOCKS_PER_SEC=%d, sysconf(_SC_CLK_TCK)=%ld\n",
29 CLOCKS_PER_SEC
, sysconf(_SC_CLK_TCK
));