]> git.sur5r.net Git - cc65/blob - testcode/lib/clock.c
Another small change in OptJumpTarget3.
[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 #ifdef __ATARI__
20   /* Atari DOS 2.x clears the screen after program termination, so wait... */
21   printf("hit <return> to exit...");
22   cgetc();
23 #endif
24   printf("\n");
25   return(0);
26 }
27