| Summary: | [LTTng] Refactor the Histogram View | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Francois Chouinard <fchouinard> | ||||
| Component: | LinuxTools | Assignee: | Francois Chouinard <fchouinard> | ||||
| Status: | CLOSED FIXED | QA Contact: | Francois Chouinard <fchouinard> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | overholt | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 321364 | ||||||
| Attachments: |
|
||||||
|
Description
Francois Chouinard
Created attachment 200211 [details]
Refactoring of the Histogram View
This patch is essentially a full refactoring of the Histogram view. It has the following features:
[1] (almost) Generic histogram data model that de-couples the data from the UI. It handles the event counts and their mapping to a given canvas.
[2] Generic histogram widget that can be re-used easily by any TMF view. It handles dynamically the canvas, its x-/y-axis and the current event selection
[3] An histogram zoom which handles the resizing of the active time range
[4] A time range histogram which handles its re-sizing
[5] A full trace histogram which handles the move and re-sizing of the time range window
Also, most of the earlier code was either refactored or simply removed.
There is very little work left to make the view completely generic. I intend to complete it shortly.
Comment on attachment 200211 [details]
Refactoring of the Histogram View
Patch was committed
Is this suitable for a bug-fix release (0.8.1) or should the Target Milestone be set to 0.9.0? Delivered in 0.9.0 |