| Author |
Message |
ProfilerGuy
Joined: 06 Mar 2012 Posts: 1
|
Posted: Tue Mar 06, 2012 4:53 pm Post subject: Strange CPU time results... |
|
|
Hi Red Gate team,
I have a special case in which I get quite strange cpu timings. How do you meassure cpu timings? Do you use time stamp counter?
Regards,
Peter |
|
| Back to top |
|
 |
james.billings
Joined: 16 Jun 2010 Posts: 844 Location: My desk.
|
Posted: Tue Mar 06, 2012 5:24 pm Post subject: |
|
|
| Thanks for your post - I'm not personally aware of the precise details of how we capture timings - a previous query in-house resulted in the answer that its by intercepting the lower level calls made by .NET. In itself that may not help you- can you give a bit more detail about the problem you're experiencing, as it may be something we've come across before? |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6348 Location: Red Gate Software
|
Posted: Wed Mar 14, 2012 3:22 pm Post subject: |
|
|
The way I understand, the .NET Profiling interface provided by Microsoft provides the method entry and method exit times. Then it's a matter of counting the ticks inbetween. So on XP there is a speedstep issue but for most other operating systems, if there is anything untowards, it's usually caused by bodged overhead calculations. ANTS attempts to subrtact the time it took in your process from the results. It is possible to turn overhead correction off in the settings. _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
|
|
All times are GMT + 1 Hour
|
| Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group