This Question is Answered

2 "helpful" answers available (2 pts)
3 Replies Last post: Dec 1, 2011 12:29 PM by Wallace Turner  
Wallace Turner Newbie 19 posts since
Feb 10, 2011
Currently Being Moderated

Nov 21, 2011 4:28 PM

call stack does not add up to 100%

using dotTrace 4.0.1


best illustrated with a screenshot:



I have opened the method (SetView) in a new Tab, where the time taken is 8,705ms....


The method consists of 29% of ToArray( ) (which is a linq query) which takes 2,587 ms


What happened to the other 71%?




Andrey Serebryansky JetBrains 2,901 posts since
Jan 12, 2005
Currently Being Moderated
Dec 1, 2011 11:46 AM in response to: Wallace Turner
Re: call stack does not add up to 100%

Hello Wallace

     Sorry for delayed response! Usually such result means that the SetView function spends the rest of the time (100%-29.72%) doing something else (e.g. not calling other functions and doing some math calculations for instance). If you have source code for that function, you can install dotTrace 4.5.1 and use the Line-by-line profiling feature to find out exactly what that function is doing. Thank you!


Andrey Serebryansky

Senior Support Engineer

JetBrains, Inc

"Develop with pleasure!"

More Like This

  • Retrieving data ...