c7d44cfc |
1 | TODO list on control flow view by Mathieu Desnoyers |
2 | |
3 | |
4 | - Split in process view and CPU ciew : |
5 | - remove process 0 from the process list |
6 | - add a new viewer to the module : |
7 | - cfv.c -> new cpuctl.c : core of the view |
8 | - eventhooks.c -> cpuhooks.c : draw cpu states |
9 | - processlist.c -> cpulist.c |
10 | |
11 | - Check cfv for stability, modules load/unload, viewer start (many:3+), stop, |
12 | memory leaks; standardize module unloading : in all cases they should call |
13 | main window's API for viewer widget removal, and only then the memory should |
14 | be released (from the call of the main window). |
15 | |
16 | - Add viewer selected signal (call main window's API function) |
17 | - When viewing a big trace, use the fact that the drawing cannot be more |
18 | precise than the amount of horizontal pixels it has : "jump" from one event |
19 | to another, converting pixels to time in the trace. It will use efficiently |
20 | the "saved state" functionnality of underlying state.c. |
21 | |
22 | - Modify widgets'organization so the time bar is not affected by scrolling : |
23 | it may need to separate process list from the drawing area (not in a |
24 | scrolled window anymore). The idea would be to use a scrolled window for |
25 | the drawing area, put it in the right side of a hbox, put the tree view |
26 | in the left side and then connect the tree view's adjustment to the |
27 | scrolled window's scroll bar. |
28 | |
fe5e1b38 |
29 | - Modify icon, text and arc drawing so they are drawn only on top of the |
30 | background. They will have to be drawn from the following event or from |
31 | closure function in order to respect the priorities. |
32 | |
b8759763 |
33 | Wish list |
34 | |
35 | - Tool bar for the viewer so many actions can be done on the screen. |
36 | |
37 | - Ability to select events with the mouse : in a "event selection mode", the |
38 | mouse click would "redraw" the image virtually and select an event. |
39 | (just like selectionGL in OpenGL). |
40 | |
41 | - Shown more events if wanted. |
42 | |
43 | - Use filter to show additionnal events. (do not filter schedule events! |
44 | The filtering should be applied to the additionnal events only). Note that it |
45 | require no change to filter : just do not make the filter apply on every |
46 | incoming events in the viewer's hooks. |
47 | |
48 | - Add vertical lines showing control flow between processes : it may become |
49 | confusing when working on multiple cpu. |
50 | |
51 | - Add a horizontal line showing the currently selected process. May be a |
52 | light dotted line, similar to the current time line, but with a different |
53 | color/pattern. |
54 | |
55 | - Add events customization window : make the user able to select the |
56 | text/icon/line color/background color/dots linked with any kind of |
57 | event. The framework is there, it must be completed. (the use of |
58 | Attributes to call hooks for every event type comes from there) |
59 | |
60 | |