mirror of
https://github.com/cc65/cc65.git
synced 2024-11-16 18:08:04 +00:00
25 lines
415 B
C
25 lines
415 B
C
/*
|
|
** simple clock test
|
|
**
|
|
** 06-Nov-2001, Christian Groessler
|
|
*/
|
|
|
|
#include <stdio.h>
|
|
#include <conio.h>
|
|
#include <time.h>
|
|
|
|
int main(void)
|
|
{
|
|
printf("\ncc65 time routines test program\n");
|
|
printf("-------------------------------\n");
|
|
|
|
printf("clocks per second: %d\n", CLOCKS_PER_SEC);
|
|
printf("current clock: %ld\n", clock());
|
|
|
|
printf("hit <return> to exit...");
|
|
cgetc();
|
|
printf("\n");
|
|
return(0);
|
|
}
|
|
|