libsysprof-analyze: calculate counter range after adding values

Otherwise we are just calculating a null set.
This commit is contained in:
Christian Hergert
2023-06-27 12:19:56 -07:00
parent 22826dfff1
commit 886ff654a1
3 changed files with 78 additions and 48 deletions

View File

@ -24,11 +24,12 @@
G_BEGIN_DECLS
SysprofDocumentCounter *_sysprof_document_counter_new (guint id,
guint type,
GRefString *category,
GRefString *name,
GRefString *description,
GArray *values);
SysprofDocumentCounter *_sysprof_document_counter_new (guint id,
guint type,
GRefString *category,
GRefString *name,
GRefString *description,
GArray *values);
void _sysprof_document_counter_calculate_range (SysprofDocumentCounter *self);
G_END_DECLS