Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Filter in the Execution Time Analysis
Filter in the Execution Time Analysis [message #41109] Thu, 17 November 2005 14:26 Go to next message
Eclipse UserFriend
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 #41357 is a reply to message #41109] Fri, 18 November 2005 06:28 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 404
Registered: July 2009
Senior Member
Users can't define filtration on start time. I would recommend starting off
by reviewing the code under org.eclipse.hyades.ui.filters.internal.*
packages. I'm not sure if you'll be able to get away with adding a filter
with a new semantic without the use of internal APIs.



"Hermann Wessels" <madwolf@upb.de> wrote in message
news:93be3ea22183dc6f3e841ea84e1b0bbd$1@www.eclipse.org...
> 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 Go to previous messageGo to next message
Eclipse UserFriend
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 #42622 is a reply to message #42020] Thu, 24 November 2005 15:44 Go to previous messageGo to next message
Marius Slavescu is currently offline Marius SlavescuFriend
Messages: 67
Registered: July 2009
Member
Hi Hermann,

Please send me the created filter file(from
..metadata\.plugins\org.eclipse.hyades.ui\filterresources\fi lters.filtxmi).

Currently we don't filter the Execution Flow and Method Invocation views.

Do you intend to get a slice in time of the trace based on the
TRCFullMethodInvocation.entryTime using this filter?

Regards,
Marius

"Hermann Wessels" <madwolf@upb.de> wrote in message
news:a1f1187b633fc044dc28a82fefad781b$1@www.eclipse.org...
> 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 Go to previous message
Eclipse UserFriend
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
Previous Topic:Datapool - TPTP 4.0.1 missing jar files
Next Topic:Problems with the RAServer
Goto Forum:
  


Current Time: Tue Apr 16 06:07:59 GMT 2024

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

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

Back to the top