2 Replies Last post: Dec 7, 2011 1:33 PM by Kim Gräsman  
Kim Gräsman Newbie 2 posts since
Dec 6, 2011
Currently Being Moderated

Dec 6, 2011 2:11 PM

Own time vs percentage

Hello,

 

I'm trying to use dotTrace Performance to divide execution time into a number of buckets, roughly corresponding to .NET namespaces or assemblies. I'd like a result that says;

 

 

NamespaceTime spentPercentage of total
Ns15 sec5%
Ns212 sec12%
...

 

I'm not sure if this is generally possible?

 

After a profile run, I'm looking at the Plain List view, and it's showing information that looks like it could serve as the basis, but I can't really make sense of the relation between time spent and percentages...

profile.png

I assumed Own Time was the time spent only in this namespace, not including outgoing calls, but the percentages don't seem to correlate with the actual times.

 

It's a stand-alone console application, I profiled with Tracing and collected Wall time (CPU instruction).

 

Am I misinterpreting? Can I even harvest this kind of information?

 

Thanks,

- Kim

Andrey Serebryansky JetBrains 2,900 posts since
Jan 12, 2005
Currently Being Moderated
Dec 7, 2011 1:16 PM in response to: Kim Gräsman
Re: Own time vs percentage

Hello Kim

     Here 'Own Time' is the time spent by all functions in a particular namespace performing some work (doing some math or calculations) instead of calling other functions. The percentage near own time in that column shows how much time this function spent performing some work compared to whole time spent by this function (that is (Own Time/Time)*100 %). I'm afraid at the moment there's no way to display Time and Percentage of total in Plain View. Thank you!

 

Andrey Serebryansky

Senior Support Engineer

JetBrains, Inc

http://www.jetbrains.com

"Develop with pleasure!"

More Like This

  • Retrieving data ...