Total time spent in method [message #64641] |
Thu, 06 April 2006 09:01 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: misja.alma.gmail.com
When profiling execution time, the execution statistics table shows only
the time that is spent inside a method. The time that is spent in other
methods that were called from there is not added to the caller's time.
Is there a way to show statistics that show the total time that a method
has spent? What I mean is, the main() method of an application would then
spend 100% of the time, if it called 2 methods from there one would for
instance have spent 95% and the other 3% etcetera. Statistics like these
would make it easier to quickly find out where the bottleneck of an
application is. They could for instance be shown in a tree view, where
main() is the root of the tree. I used to work with Borland's profiler and
this had an option to show execution statistics in this way.
|
|
|
Re: Total time spent in method [message #66857 is a reply to message #64641] |
Mon, 17 April 2006 16:01 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: nmehrega.ca.ibm.com
This is a multipart message in MIME format.
--=_alternative 00580AEB85257153_=
Content-Type: text/plain; charset="US-ASCII"
The "Cumulative Time" of a method is the execution time of that method,
which *includes* the execution time of the methods it invokes. "Base
Time" of a method is its execution time, *excluding* the execution times
of the methods it invokes.
There is a problem with displaying "tree-structured" execution statistics.
In the future, method hierarchy won't be collected if graphical details
is turned off (for performance reasons). If method hierarchy is not
collected we can't display execution time in a tree-structured format.
Navid Mehregani
--=_alternative 00580AEB85257153_=
Content-Type: text/html; charset="US-ASCII"
<br><font size=2 face="sans-serif">The "Cumulative Time" of a
method is the execution time of that method, which *includes* the execution
time of the methods it invokes. "Base Time" of a method
is its execution time, *excluding* the execution times of the methods it
invokes.</font>
<br><font size=2 face="sans-serif"><br>
There is a problem with displaying "tree-structured" execution
statistics. In the future, method hierarchy won't be collected if
graphical details is turned off (for performance reasons). If method
hierarchy is not collected we can't display execution time in a tree-structured
format.</font>
<br>
<br><font size=2 face="sans-serif">Navid Mehregani</font>
--=_alternative 00580AEB85257153_=--
|
|
|
Powered by
FUDForum. Page generated in 0.03740 seconds