Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 342769 - [TMF] Refactoring of event cache with filter support and optimization of GUI refresh
Summary: [TMF] Refactoring of event cache with filter support and optimization of GUI ...
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: LinuxTools (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Francois Chouinard CLA
QA Contact: Francois Chouinard CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-13 17:11 EDT by Patrick Tasse CLA
Modified: 2022-01-13 14:53 EST (History)
0 users

See Also:


Attachments
Proposed patch in org.eclipse.linuxtools.tmf.ui package (46.28 KB, patch)
2011-04-13 17:13 EDT, Patrick Tasse CLA
fchouinard: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Tasse CLA 2011-04-13 17:11:47 EDT
Build Identifier: 

Submitting a patch with the following improvements:

- The event cache is separated from the event table
- Filter support is added to the event cache
- The event table no longer stores a memory-unlimited list of filtered events
- The filter thread can store events in the event cache
- The search thread will first search in the event cache then in the trace
- The same search thread is used whether the table is filtered or not
- Searching backwards no longer reads only one event at a time for efficiency
- The selected event rank is now correctly updated after a search
- Synchronization is used to prevent queuing multiple GUI refreshes in the events table and time chart view
- The virtual table now correctly returns the selection index when the selection is outside of the visible range

Reproducible: Always
Comment 1 Patrick Tasse CLA 2011-04-13 17:13:06 EDT
Created attachment 193199 [details]
Proposed patch in org.eclipse.linuxtools.tmf.ui package

Legal Message: I, Patrick Tasse, declare that I developed attached code from
scratch, without referencing any 3rd party materials except material licensed
under the EPL. I am authorized by my employer to make this contribution under
the EPL.
Comment 2 Patrick Tasse CLA 2011-04-13 17:20:09 EDT
Also

- The filter thread request is now a TmfEventRequest instead of a TmfDataRequest, which prevented it from correctly being executed as a background request.
Comment 3 Francois Chouinard CLA 2011-04-14 10:17:56 EDT
Comment on attachment 193199 [details]
Proposed patch in org.eclipse.linuxtools.tmf.ui package

Thanks Patrick. Great job.
Comment 4 Francois Chouinard CLA 2011-04-14 10:18:31 EDT
Patch committed.
Comment 5 Francois Chouinard CLA 2011-07-22 15:05:01 EDT
Delivered with 0.8