|
-
Jun 15th, 2007, 04:38 PM
#1
[RESOLVED] Timer() vs GetTickCount()
I've seen it asserted many times on the boards that GetTickCount() is more accurate than Timer(), but frankly I don't see it.
Just now I tossed in a sample check of GetTickCount() into my sorting program (linked in sig) to see how they compare, and set it to benchmark sorting an array with only two (Long) elements using bubblesort.
The results:
Timer: 0.00078 seconds
GetTickCount: 0 milliseconds
Seems to me that Timer() is the clear winner. Am I missing something?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|