home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mnemosyne.cs.du.edu!mercury.cair.du.edu!copper!rvaniwaa
- From: rvaniwaa@copper.denver.colorado.edu (Ronald J. Vaniwaarden)
- Newsgroups: comp.os.os2.programmer
- Subject: Third try: timing the run time of algorithms PLEASE HELP!!!!
- Message-ID: <4364@copper.Denver.Colorado.EDU>
- Date: 13 Nov 92 01:19:54 GMT
- Organization: University of Colorado at Denver
- Lines: 10
-
- Well, this will be my third try for help on this topic. What I need
- to do is get the actual CPU time for an algorithm. The clock() call
- that is in gcc gives the real time between calls and I need the actual
- cpu time. From a few sources, I have determined that OS/2 does keep
- track of the processor time on a thread by thread basis (see The
- Design of OS/2 for reference). Since it is kept track of, I think
- there must be a way of accessing it. Are there any IBMers out there
- who can help with some system call that will give this to me??? If
- I cannot find this, I will have to switch over to DOS to compile, run,
- and time my programs. PLEASE SAVE ME FROM THIS FATE!!!!!!!!!!!!!!!
-