Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » profiling filters
profiling filters [message #12801] Fri, 01 April 2005 16:47 Go to next message
Eclipse UserFriend
Originally posted by: a.cc.com

Hi,

I am profiling a local java application. My main method looks like this:

main() {
a();
b();
}

a() {
c();
}

b() {
c();
}

I want the profiler to not consider the execution sub-tree under the
a(); call at all. I cannot remove a(); call from main since i need a()
to happen before b(). How do you set a filter to do that?

Thanks
Re: profiling filters [message #13775 is a reply to message #12801] Wed, 06 April 2005 12:58 Go to previous message
Samson Wai is currently offline Samson WaiFriend
Messages: 46
Registered: July 2009
Member
Hi,

You can add a profiling filter like this (assuming your class name is
"HelloWorld"):

Package or Class: HelloWorld
MethodName: a
Rule: EXCLUDE

And move this rule to the top of the filter set. This will prevent method
a() from showing up in the Method Statistics view.

Samson


"Ankit Pasricha" <a@cc.com> wrote in message
news:d2ju5i$ohi$1@news.eclipse.org...
> Hi,
>
> I am profiling a local java application. My main method looks like this:
>
> main() {
> a();
> b();
> }
>
> a() {
> c();
> }
>
> b() {
> c();
> }
>
> I want the profiler to not consider the execution sub-tree under the
> a(); call at all. I cannot remove a(); call from main since i need a()
> to happen before b(). How do you set a filter to do that?
>
> Thanks
Previous Topic:Application can't find my *.jar
Next Topic:Release 4i2 ?
Goto Forum:
  


Current Time: Wed Nov 26 05:53:59 GMT 2014

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

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