Commit Graph

3231 Commits

Author SHA1 Message Date
44fc3f7eac libsysprof-gtk: hoist selection check to allow for session selection 2023-06-30 14:05:14 -07:00
2604f143c4 libsysprof-gtk: start on interactive drag selections 2023-06-30 13:59:30 -07:00
508d1abbb6 libsysprof-gtk: lighten alpha for selection column
This is darker than the ruler posts, but lighter than foreground.
2023-06-30 13:31:42 -07:00
4babfaa6b7 libsysprof-gtk: remove motion from time ruler
This is done on the tracks view instead
2023-06-30 13:31:24 -07:00
eafc897a9e libsysprof-gtk: use foreground color for selection column 2023-06-30 13:28:36 -07:00
96d7851439 libsysprof-gtk: setup style tweaks to test the window 2023-06-30 13:24:09 -07:00
d8ba258051 libsysprof-analyze: give SysprofDocument a title 2023-06-30 13:23:54 -07:00
1713c978c3 libsysprof-gtk: add cpu frequency rows 2023-06-30 12:44:15 -07:00
38e72a0147 libsysprof-gtk: ignore range when range is set manually 2023-06-30 12:44:04 -07:00
14e6952726 libsysprof-profile: clamp to range 2023-06-30 12:43:31 -07:00
dfcba71fd7 libsysprof-gtk: remove alpha for diamonds
Not worth it for so little alpha.
2023-06-30 12:15:25 -07:00
7c50708c0c libsysprof-gtk: tweak coloring for mark view 2023-06-30 12:14:03 -07:00
22ea27ca7a libsysprof-gtk: ignore informative area of listview 2023-06-30 11:48:13 -07:00
0334c4768d libsysprof-gtk: add example for drawing position line 2023-06-30 10:54:19 -07:00
ef5923eb08 libsysprof-gtk: add section for GTK FPS 2023-06-29 17:41:00 -07:00
b124c8a013 libsysprof-gtk: add marks details from catalog as rows 2023-06-29 17:34:00 -07:00
02f74a2263 libsysprof-gtk: add entries for coalesced marks by group 2023-06-29 17:21:10 -07:00
b96b26ace1 libsysprof-gtk: setup some more counter charts 2023-06-29 17:00:19 -07:00
d72e796c91 libsysprof-gtk: use signals to create charts
This allows us to keep the final type for tracks like I want and instead
move various logic into signal handlers which are kept within the same
source file for discovery.
2023-06-29 16:24:33 -07:00
af985b6ac1 libsysprof-gtk: transfer ownership of model to series 2023-06-29 15:15:40 -07:00
334d75a4d2 libsysprof-gtk: discover subcounters for CPU usage 2023-06-29 15:12:34 -07:00
8373314bf3 libsysprof-gtk: setup some default styling for tracks 2023-06-29 15:11:42 -07:00
58853a85bb libsysprof-gtk: bridge subtracks to GtkTreeListModel 2023-06-29 15:11:29 -07:00
2f25fd31fe libsysprof-gtk: return NULL unless subtracks are non-empty
These don't really change at runtime, so we can employ this to bridge
things to GtkTreeListModel well.
2023-06-29 15:11:02 -07:00
b340371055 libsysprof-gtk: fill spline by default 2023-06-29 15:10:18 -07:00
bc63f3f463 libsysprof-gtk: improve alignment for lines 2023-06-29 15:10:05 -07:00
4d553ec88e libsysprof-profile: more CPU data points
2x per second just isn't enough data points for useful graphs. Ideally we
will make this tunable by the instrument, but not for now.
2023-06-29 14:20:02 -07:00
22cee18f61 libsysprof-gtk: dont transfer ownership of borrowed axis 2023-06-29 14:17:47 -07:00
57e702b139 libsysprof-gtk: start on counter track ideas 2023-06-29 14:15:26 -07:00
0004d0bffa libsysprof-gtk: allow line layer to draw over edge
This is needed to avoid clippin when the line reaches the top. It's easier
to just allow it to draw to the edge than to create alternative ways of
adjusting height/width for the chart itself.
2023-06-29 14:15:09 -07:00
2147254127 libsysprof-gtk: add missing autoptr cleanup 2023-06-29 14:14:20 -07:00
5220c6bc21 libsysprof-analyze: add getters for min/max value 2023-06-29 14:14:05 -07:00
821bfc9bdf libsysprof-gtk: make track subclassable
The goal here is that we can move a bunch of the machinery to create
charts into subclasses rather than one sort of annoying convoluted layer.
2023-06-29 12:23:34 -07:00
6e476b683a libsysprof-gtk: allow finding matching sub-tracks by counter 2023-06-29 11:02:35 -07:00
4e794328ea libsysprof-gtk: allow tracks to have subtracks 2023-06-29 10:40:58 -07:00
dee9d93ec3 libsysprof-gtk: break track discover out into seperate module
This stuff can eventually get pretty hairy, so keep it contained and away
from the rest of the session so it may stay tidy.
2023-06-29 10:40:45 -07:00
756e647e21 libsysprof-analyze: add sysprof_document_find_counter()
This allows finding a specific counter without having to traverse them
all from consumer code.
2023-06-29 10:36:40 -07:00
436a03a0f5 libsysprof-gtk: setup tracks layout a bit more 2023-06-28 16:53:52 -07:00
300a238ebb libsysprof-gtk: start on track discovery 2023-06-28 16:53:39 -07:00
255db785ad libsysprof-gtk: setup tree list for tracks view
We want tracks to have subtracks (such as a total-CPU graph track being
able to expand to show individual CPU graphs).
2023-06-28 15:14:09 -07:00
f416471f3f libsysprof-gtk: add tracks model to session
The goal here is for the session to decode information from the document
and then determine what tracks can be displayed. This is what an "aid"
used to do in libsysprof-ui. I think we can just centralize it now that
we have a lot more abstractions in SysprofDocument.
2023-06-28 15:13:28 -07:00
5d2b1c06a6 libsysprof-gtk: start on SysprofTracksView
This is eventually going to contain the list of tracks we have at the
top of the analysis view.
2023-06-28 14:53:52 -07:00
d148357953 libsysprof-gtk: use css for undershoot 2023-06-28 13:00:51 -07:00
1b8f1035ec libsysprof-gtk: soften line marks 2023-06-28 12:53:19 -07:00
19d6347ff3 libsysprof-gtk: add antialias option 2023-06-28 12:50:49 -07:00
712013a91a libsysprof-gtk: move flip-y to SysprofXYLayer
So that we can use it to perform value coordinate flipping on multiple
charts and graphs.
2023-06-28 12:36:05 -07:00
dc3d237edb libsysprof-gtk: allow inverting values in normalized series 2023-06-28 12:35:16 -07:00
6d9baa0118 libsysprof-gtk: cleanup some flipped-y situations
Alternatively, we should probably fix this in the normalization layer since
that will allow us to treat everything uniformally.
2023-06-28 11:19:59 -07:00
71c0c20834 libsysprof-gtk: basic hover support for line layer 2023-06-28 11:16:59 -07:00
c1375fa10f libsysprof-gtk: use box for side charts 2023-06-28 10:43:19 -07:00