home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.programmer.misc
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!sun-barr!ames!saimiri.primate.wisc.edu!doug.cae.wisc.edu!ahrikenc
- From: ahrikenc@hprisc-12.cae.wisc.edu (Cherif Ahrikencheikh)
- Subject: function TIMING in Windows: HELP
- Distribution: usa
- Date: 11 Jan 93 13:59:08 CST
- Message-ID: <1993Jan11.135908.11287@doug.cae.wisc.edu>
- Originator: ahrikenc@hprisc-12.cae.wisc.edu
- Lines: 14
-
-
- Is there any way I can time an algorithm that is part of a Windows
- application? For example, Unix allows finding the CPU time spent
- specifically on executing a given set of instructions.
-
- In Windows, I used the gettime function and computed the difference
- of the times at two points, and I get different results at different
- times, for the same points, the same data; I believe this is due to
- the fact that Windows continuously executes other tasks in the
- background, which explains the difference in the results.
-
- Please help!
-
-
-