Wall-Clock Time With Children is negative

Code profiling for .NET developers.

Moderator: dom.smith

Wall-Clock Time With Children is negative

Postby Duy » Wed Jun 12, 2013 1:31 pm

Hi
Currently, I'm using Ants Performance Profiler 7.3. When profiling my program and export that result to htm file, I found some methods that have Wall-Clock Time With Children(ms) is negative. Those make time of some methods > Wall-Clock Time With Children(ms) of them.
Why is Wall-Clock Time With Children(ms) negative while Wall-clock Time With Children(%) is not negative?
Duy
 
Posts: 7
Joined: Thu Apr 11, 2013 7:41 am

Postby jessica.ramos » Thu Jun 13, 2013 6:48 pm

Hello,

Thank you for your post!

The profiler may sometimes show negative timings for very simple methods. This is caused because an estimate of the profiler's overhead is subtracted from results by default, and, for a very simple method, too much may be subtracted.

There are two options to get around this:
-You can use a less detailed mode of profiling (such as method-level or sampling)
-You can disable the subtraction--on the Tools menu, click Options... and then de-select Adjust timings to compensate for overhead added by the profiler.

(you can find more on unexpected profiling results here )

I hope this helps!
Jessica Ramos
Technical Support
Red Gate Software Ltd.
jessica.ramos
 
Posts: 235
Joined: Mon Apr 23, 2012 1:13 pm

Postby Duy » Mon Jun 17, 2013 8:37 am

Thanks for your information!
Duy
 
Posts: 7
Joined: Thu Apr 11, 2013 7:41 am


Return to ANTS Performance Profiler 8

Who is online

Users browsing this forum: No registered users and 0 guests

cron