mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
sysprof: add SysprofTimeFilterModel
This is a model that expects the set to be in sorted order by time, and requires that the items are a SysprofDocumentFrame. If that holds true, it can binary search to find the correct frames based on a requested time-span that is inclusive only of matching frames. This is useful to dive down into data based on either the visible or selected time span of a session without having to expensive GtkFilter operations (which would look at every object in the set).
This commit is contained in:
@ -16,6 +16,7 @@ sysprof_sources = [
|
||||
'sysprof-sidebar.c',
|
||||
'sysprof-single-model.c',
|
||||
'sysprof-time-scrubber.c',
|
||||
'sysprof-time-filter-model.c',
|
||||
'sysprof-traceables-utility.c',
|
||||
'sysprof-window.c',
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user