Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Total time spent in method
Total time spent in method [message #64641] Thu, 06 April 2006 09:01 Go to next message
Eclipse UserFriend
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
Eclipse UserFriend
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 &quot;Cumulative Time&quot; of a
method is the execution time of that method, which *includes* the execution
time of the methods it invokes. &nbsp;&quot;Base Time&quot; 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 &quot;tree-structured&quot; execution
statistics. &nbsp;In the future, method hierarchy won't be collected if
graphical details is turned off (for performance reasons). &nbsp;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_=--
Previous Topic:How does the AGR work, can we customrize it?
Next Topic:[AGR] Capturing odd selection in workbench
Goto Forum:
  


Current Time: Thu Nov 21 15:45:50 GMT 2024

Powered by FUDForum. Page generated in 0.05248 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top