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:
Text File  |  1980-01-01  |  348 b   |  18 lines

  1. /*                      Display Processor Speed
  2.  */
  3.  
  4. /*      main()
  5.  
  6.         Function: Display the speed of the current processor, as a
  7.         percentage of a standard IBM-PC.
  8.  
  9.         Algorithm: Just call calib and print out the result.
  10. */
  11.  
  12. main()
  13.  
  14. {
  15.         printf("This processor is %u%% of a standard IBM-PC.\n",calib());
  16. }
  17.  
  18.