Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 315503 - Analyzer for CachingDB/PhotranVPGDB
Summary: Analyzer for CachingDB/PhotranVPGDB
Status: RESOLVED FIXED
Alias: None
Product: PTP
Classification: Tools
Component: Photran.For Internal Use (show other bugs)
Version: 6.0   Edit
Hardware: PC Windows Vista
: P2 enhancement (vote)
Target Milestone: 7.0   Edit
Assignee: Jeffrey Overbey CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-02 17:34 EDT by ehuq24 CLA
Modified: 2010-06-22 20:24 EDT (History)
1 user (show)

See Also:


Attachments
the described patch (18.55 KB, text/plain)
2010-06-02 17:34 EDT, ehuq24 CLA
com-eclipse-dot-org: iplog+
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ehuq24 CLA 2010-06-02 17:34:51 EDT
Created attachment 170886 [details]
the described patch

Patch that includes class DBAnalyzer.java which prints additional statistics on methods calls (database-related) that were made during the execution of Photran.

Access via Refactoring -> Debugging -> Display Database Statistics

Patch also includes a one-line change to CachingDB.java and a modification to the constructor in PhotranVPGDB.java to accommodate DBAnalyzer.
Comment 1 Jeffrey Overbey CLA 2010-06-02 17:39:32 EDT
Can you please confirm that

1. you wrote 100% of the code without incorporating content from elsewhere or relying on the intellectual property of others,

2. you have the right to contribute the code to Eclipse, and

3. you have included the EPL license header in all source files?
Comment 2 ehuq24 CLA 2010-06-02 18:19:43 EDT
(In reply to comment #1)
Yes,

1. I wrote 100% of the code without incorporating content from elsewhere or relying on the intellectual property of others,

2. I have the right to contribute code to Eclipse, and

3. I have included the EPL license header in all source files


-Esfar
Comment 3 Jeffrey Overbey CLA 2010-06-15 18:09:22 EDT
This is a small contribution, so we will not need to file a CQ.
Comment 4 Jeffrey Overbey CLA 2010-06-22 20:23:53 EDT
Thanks, Esfar.  I committed this to CVS with the class moved/renamed to org.eclipse.rephraserengine.core.vpg.db.profiling.ProfilingDB