Information générale
Catégorie:
Installation et configuration
Versions des environnements
>>>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement