Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Improve performance
Message
De
01/12/2007 01:29:28
 
 
À
30/11/2007 15:10:17
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Installation et configuration
Versions des environnements
Visual FoxPro:
VFP 7 SP1
Divers
Thread ID:
01271950
Message ID:
01272612
Vues:
22
>>>Still, if coverage logging can have microseconds, this was surely feasible, probably by use of different API functions.
>>
>>That's a Performance Counter object. You can use the QueryPerformanceCounter API functions. One problem with that is its performance, though. Although it returns timing values with the highest possible precision, the API call takes longer than other call for querying elapsed time.
>
>Sounds like quantum theory - we're getting close down to processor instruction level to observe our code, and that's where the observer begins to influence the phenomenon he wants to observe.
>
>Still, knowing its limitations, I do love coverage profiler :).

Just be careful on double core cpu's: the queryperf counters can get out of synch there, logging miminmal time machine behaviour from your program if you don't apply necessary pathces...

regards

thomas
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform