home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Microsoft Programmer's Library 1.3
/
Microsoft-Programers-Library-v1.3.iso
/
sampcode
/
alde_c
/
misc
/
util
/
super_c
/
speed.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
UTF-8
Wrap
Text File
|
1980-01-01
|
348 b
|
18 lines
/* Display Processor Speed
*/
/* main()
Function: Display the speed of the current processor, as a
percentage of a standard IBM-PC.
Algorithm: Just call calib and print out the result.
*/
main()
{
printf("This processor is %u%% of a standard IBM-PC.\n",calib());
}