home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / cputime.zip / readme < prev   
Text File  |  1994-04-18  |  756b  |  21 lines

  1. The source file "cputimes.c" was obtained directly from the ATT Bell Lab
  2. FTP site (netlib.att.com). I have compiled three versions of it:
  3.  
  4. cputime1        IBM C/C++, Version 2, default settings
  5.  
  6. cputime2        IBM C/C++, Version 2, /Gi+ /O+ switches
  7.  
  8. cputime3        Microsoft C for OS/2, Version 6.0A, large model, defaults
  9.  
  10. The program itself is discussed in the article "A Simple Cost Model for C",
  11. (Unix Review, Feb 1991) by Bently, Kernighan, and Van Wyk.
  12.  
  13. The only significant change needed to make the code compile and run under
  14. OS/2 was the replacement of the "close()" calls with "fclose()". You may
  15. want to fiddle with the constants a bit, I left them as-is.
  16.  
  17. Have fun.
  18.  
  19. John M. Hughes
  20. jmh@noao.edu
  21. jmh%cerberus.uucp@noao.edu