1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-26 08:32:00 +00:00

Print a banner

git-svn-id: svn://svn.cc65.org/cc65/trunk@2808 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2003-12-21 12:51:59 +00:00
parent d02d2a109c
commit fc6c0a4615

View File

@ -26,7 +26,7 @@ static unsigned char Sieve[COUNT];
/*****************************************************************************/ /*****************************************************************************/
/* Code */ /* Code */
/*****************************************************************************/ /*****************************************************************************/
@ -35,7 +35,7 @@ static unsigned char Sieve[COUNT];
int main (void) int main (void)
{ {
/* Clock variable */ /* Clock variable */
clock_t Ticks; clock_t Ticks;
@ -45,6 +45,11 @@ int main (void)
register unsigned I; register unsigned I;
register unsigned J; register unsigned J;
/* Output a header */
printf ("Sieve benchmark - calculating primes\n");
printf ("between 2 and %u\n", COUNT);
printf ("Please wait patiently ...\n");
/* Read the clock */ /* Read the clock */
Ticks = clock(); Ticks = clock();