Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Improve performance
Message
From
01/12/2007 01:34:08
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
01/12/2007 01:29:28
General information
Forum:
Visual FoxPro
Category:
Installation, Setup and Configuration
Environment versions
Visual FoxPro:
VFP 7 SP1
Miscellaneous
Thread ID:
01271950
Message ID:
01272614
Views:
25
>>>>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...

Great... luckily, I always try to keep my machine somewhat suboptimal (that's how "slow" is said in Microsoft newspeak), so my laptop is dual core, but the development box is not. And I'll probably keep it that way.

And what do the patches do, force the counters to execute in the same neck of the processing woods as the caller?

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform