Red Gate forums :: View topic - Strange CPU time results...
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
ANTS Performance Profiler 6
ANTS Performance Profiler 6 forum

Strange CPU time results...

Search in ANTS Performance Profiler 6 forum
Post new topic   Reply to topic
Jump to:  
Author Message
ProfilerGuy



Joined: 06 Mar 2012
Posts: 1

PostPosted: Tue Mar 06, 2012 4:53 pm    Post subject: Strange CPU time results... Reply with quote

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
View user's profile Send private message
james.billings



Joined: 16 Jun 2010
Posts: 1112
Location: My desk.

PostPosted: Tue Mar 06, 2012 5:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6577

PostPosted: Wed Mar 14, 2012 3:22 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic 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