Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 142986

Summary: Start and stop profiling options
Product: z_Archived Reporter: Dimitry Fayerman <dfayerma>
Component: TPTPAssignee: Igor Alelekov <igor.alelekov>
Status: CLOSED DUPLICATE QA Contact:
Severity: enhancement    
Priority: P1 CC: analexee, igor.alelekov, jkubasta, mauromol, viacheslav.g.rybalov
Version: unspecifiedKeywords: plan
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard: closed460

Description Dimitry Fayerman CLA 2006-05-22 10:01:03 EDT
I think it would be very useful if it was possible to specify a class and method to trigger recording start and end.
The options would be:
1. When a given class is loaded start profiling
2. When a method in a given class is called start profiling (optionally stop profiling on method exit)
3. Stop profiling when another method is finished.

The (1 , 3) and (2, 3) could be combined.
Comment 1 Mark D Dunn CLA 2006-05-22 14:32:27 EDT
Reassign to Eugene Chan.  I probably have assigned it to the wrong component/person.  Eugene, please reassign if you are not the correct person for this.
Comment 2 Valentina Popescu CLA 2006-05-22 21:17:44 EDT
The runtime should support this first; moving to the runtime component
Comment 3 Guru Nagarajan CLA 2006-06-28 10:55:51 EDT
The enh request is for code fragment profiling - this is planned for Profiling post TPTP 4.3
Comment 4 Sri Doddapaneni CLA 2006-08-18 13:00:46 EDT
Fixed incorrect use of version and target milestone.
Comment 5 Igor Alelekov CLA 2008-01-21 01:44:31 EST

*** This bug has been marked as a duplicate of bug 200251 ***
Comment 6 Mauro Molinari CLA 2008-11-26 06:55:58 EST
In case you're still interested in this enhancement and you're not satisfied by the "Profiler API" approach (covered by bug #200251), please have a look at bug #256599.

Mauro.
Comment 7 Paul Slauenwhite CLA 2009-06-30 13:26:45 EDT
As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant enhancements/defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement/defect is verified/closed by the Project Lead since this enhancement/defect has been resolved and unverified for more than 1 year and considered to be fixed. If this enhancement/defect is still unresolved and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open.