Wall-Clock Time With Children is negative

Code profiling for .NET developers.

Wall-Clock Time With Children is negative

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

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?
Posts: 7
Joined: Thu Apr 11, 2013 6:41 am

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


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.
Posts: 542
Joined: Mon Apr 23, 2012 12:13 pm

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

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

Return to ANTS Performance Profiler 8

Who is online

Users browsing this forum: No registered users and 1 guest