|
-
Jun 3rd, 2000, 06:24 PM
#1
Thread Starter
transcendental analytic
Ok, i did some tests on all timer methods, and here's the results. The querryperformance counter show the accurate rate of the loop of all updating procedures. All values shows next update in milliseconds.
The test shows that gettickcount is not accurate in ms as expected
Timer control results (Using getticount counter ~53ms)
8321936
8321991
8322102
8322156
8322211
8322265
8322322
8322376
8322431
8322486
8322542
8322594
8322652
8322707
8322762
8322816
8322872
8322926
8322981
8323037
8323092
8323146
8323206
8323255
8323301
8323311
8323347
8323366
Timer function results (Normal 50-60 ms)
49549990
49550040
49550090
49550150
49550200
49550260
49550310
49550370
49550420
49550480
49550530
49550590
49550640
49550700
49550750
49550810
49550860
49550920
49550970
49551030
49551080
49551140
49551190
49551250
49551300
49551360
49553830
49553880
49553940
Gettickcount results (Normal 4 - 6ms of 1 - 8)
8871806
8871810
8871815
8871818
8871820
8871825
8871826
8871834
8871835
8871840
8871846
8871850
8871855
8871861
8871865
8871870
8871876
8871882
8871886
8871890
8871895
8871900
8871905
8871910
8871916
8871920
8871925
8871930
8871936
8871940
QuerryPerformancecounter results (Results depends on cpu speed)
9146519,1681054
9146520,19644982
9146521,34631824
9146522,40315795
9146523,42731189
9146524,4833135
9146525,5183627
9146526,63722154
9146527,67897551
9146528,69977707
9146529,7264453
9146530,74892305
9146531,98176302
9146533,01765031
9146534,04515664
9146535,07433916
9146536,11441694
9146537,13102801
9146538,190382
9146539,22710739
9146540,2596423
9146541,96097823
9146543,12258
9146544,16517206
9146545,19938316
9146547,9801874
9146549,06887477
9146550,11230493
9146554,89615984
9146556,09463786
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
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
|