Filter in the Execution Time Analysis [message #41109] |
Thu, 17 November 2005 14:26 |
Eclipse User |
|
|
|
Originally posted by: madwolf.upb.de
Hi group,
is there a way to define a filter over the starting times of the method
invocations?
The call tree in the execution flow view includes starting times.
Therefore all needed information are available. But how can i use these
information to define a filter, which effects the statistical view? Is it
inevitable to develop such a filter myself? And if so where should i start?
Regards
Hermann Wessels
|
|
|
|
Re: Filter in the Execution Time Analysis [message #42020 is a reply to message #41357] |
Wed, 23 November 2005 15:35 |
Eclipse User |
|
|
|
Originally posted by: madwolf.upb.de
Hi group,
i've approched the problem in various ways without success. Based on the
documentation and internals i've reviewed i'm pretty sure that the
EAttribute TRCFullMethodInvocation_EntryTime() should be the way to go.
-org.eclipse.hyades.models.trace.TracePackage:
/**
* Returns the meta object for the attribute '{@link
org.eclipse.hyades.models.trace.TRCFullMethodInvocation#getE ntryTime
<em>Entry Time</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the meta object for the attribute '<em>Entry Time</em>'.
* @see
org.eclipse.hyades.models.trace.TRCFullMethodInvocation#getE ntryTime()
* @see #getTRCFullMethodInvocation()
* @generated
*/
EAttribute getTRCFullMethodInvocation_EntryTime();
Integrated in the statistical view (via BasicFeatureFilterAttribute or an
own subclass compareable to the CreationTimeFeatureFilterAttribute) it
won't produce any result. The tables stays blank independantly from the
settings.
I even tried to write an own view but aborted that attempt as comparable
problems appeared.
Has anyone an idea what point i may be missing?
Regards
Hermann Wessels
|
|
|
|
Re: Filter in the Execution Time Analysis [message #42992 is a reply to message #42622] |
Sat, 26 November 2005 10:19 |
Eclipse User |
|
|
|
Originally posted by: madwolf.upb.de
Hi Marius,
i don't have access to that particular files at the moment. I'll send them
next week. Basically you will get the same effect if you manipulate the
class ProfilingAdvancedTabAttributeSet.java in the
org.eclipse.hyades.trace.views.adapter.internal package. Just extend the
_attributes variable like this: new BasicFeatureFilterAttribute("foo",
"bar", TracePackage.eINSTANCE.getTRCFullMethodInvocation_Entry_Time ,
_operators, true). I've tried that when i couldn't find the error in my
filter.
As a brief summary for what i need such a filter. I need to know which
packages, classes and methods are used in a particular time frame (i save
the profilings and analyze them after i collected all the data). At the
same time i would like to filter all/some libraries.
If you define a filter over the packages during the import or in the
statistical view it will effect the execution flow view. I assumed that it
will work in the other direction too. So i tried to define a filter over
the method invocation entry time in the statistical view which failed for
me.
For now i have settled with another solution. I manipulated the execution
flow view in a way which allows me to export the needed information and to
process them in openoffice.
You can reuse the printToHtml template for that if you don't need all
information (as there is no extension point you'll have to hardcode it in
the menu). Otherwise you may try to expand the tree via the viewer
(expandAll()). I experienced serious performance problems with that
approch. For now i use a dirty hack which accesses the TRCThredobjects.
Regards
Hermann
|
|
|
Powered by
FUDForum. Page generated in 0.02097 seconds