Hi Lei,
Yes, the steps you've given are correct. However, you didn't mention anything about the Agent Controller. You can use the Integrated Agent Controller to profile your application, but the Agent Controller is faster. The Integrated Agent Controller is included in the TPTP plugins and doesn't require a separate install. The Agent Controller is included as a separate link on our download page. Here's a link to its guide: http://www.eclipse.org/tptp/home/downloads/installguide/AgentController42.html.
Your filters should appear as follows:
Class Method Name Rule
org.jext* * INCLUDE
* * EXCLUDE
>One more question. After I get the "Execution Flow" information which are
>showed in the view. Can I get the file or data for the execution flow? Since
>I want to take some analysis on the execution flow, such as pattern mining.
You can do this in two different ways. Either create a report from the profiling views or send all profiling data directly to a file.
To send all profiling data to a file, select your launch configuration -> click on the 'Destination' tab -> select 'Send profiling data to a file' -> specify a filename with 'trcxml' extension (e.g. c:\temp\trace.trcxml). Note that you won't be able to view the profiling data in the workbench when you send it to a file. The 'trcxml' file is just a zip file and you can open it in Winzip. Once you open it in Winzip, there should be an XML file containing all of your profiling data. To familiarize yourself with the schema of this XML file, see: http://www.eclipse.org/tptp/platform/documents/resources/profilingspec/XML4Profiling.htm
Another way is to create reports from the profiling data in the workbench. Once you profile your application, open the execution statistics view -> there should be a 'Report...' button in the toolbar of this view -> Click on this button to create reports in either CSV, HTML, or XML format.
Regards,
Navid Mehregani
"Lei Hu(Larry)"
<[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED] 11/10/2006 08:15 PM
|
|
Hi Navid,
I am very appreciated that you answered my question. I followed the
instructions from the tutorial like this:
1.. Click on the Profile
2.. Double click on External Java Application to create a new
configuration.
3.. Choose my main class of my application (Jext).
4.. Add some Jar files.
5.. Set the filter set like include org.jext.* , and exclude *.*
6.. Then Profile
Do you think these steps are correct?
One more question. After I get the "Execution Flow" information which are
showed in the view. Can I get the file or data for the execution flow? Since
I want to take some analysis on the execution flow, such as pattern mining.
Thanks.
Lei Hu
Dept. of Computing & Software
McMaster University
Tel: 1-905-541-7882
_______________________________________________
tptp-tracing-profiling-tools-dev mailing list
tptp-tracing-profiling-tools-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/tptp-tracing-profiling-tools-dev
_______________________________________________ tptp-tracing-profiling-tools-dev mailing list tptp-tracing-profiling-tools-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/tptp-tracing-profiling-tools-dev