]> git.sur5r.net Git - cc65/blob - testcode/lib/clock.c
un-remove TABs in doc/using-make.sgml
[cc65] / testcode / lib / clock.c
1 /*
2 ** simple clock test
3 **
4 ** 06-Nov-2001, Christian Groessler
5 */
6
7 #include <stdio.h>
8 #include <conio.h>
9 #include <time.h>
10
11 int main(void)
12 {
13   printf("\ncc65 time routines test program\n");
14   printf("-------------------------------\n");
15
16   printf("clocks per second: %d\n", CLOCKS_PER_SEC);
17   printf("current clock: %ld\n", clock());
18
19   printf("hit <return> to exit...");
20   cgetc();
21   printf("\n");
22   return(0);
23 }
24