libsysprof-profile: add property for event count

So we can bind this to the recording pad and update it with each pass
through the loop.
This commit is contained in:
Christian Hergert
2023-07-08 10:28:25 -07:00
parent 7847aa1a74
commit b56f0ad444
2 changed files with 33 additions and 0 deletions

View File

@ -36,6 +36,8 @@ GListModel *sysprof_recording_list_diagnostics (SysprofRecording *self);
SYSPROF_AVAILABLE_IN_ALL
gint64 sysprof_recording_get_duration (SysprofRecording *self);
SYSPROF_AVAILABLE_IN_ALL
gint64 sysprof_recording_get_event_count (SysprofRecording *self);
SYSPROF_AVAILABLE_IN_ALL
void sysprof_recording_wait_async (SysprofRecording *self,
GCancellable *cancellable,
GAsyncReadyCallback callback,