From efee8bda7935003da15452e055935529b9e5d1f0 Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Tue, 15 Aug 2023 17:36:25 -0700 Subject: [PATCH] sysprof: use sampled model to limit input to xy series --- src/sysprof/sysprof-samples-section.c | 2 ++ src/sysprof/sysprof-samples-section.ui | 31 +++++++++++++++----------- 2 files changed, 20 insertions(+), 13 deletions(-) diff --git a/src/sysprof/sysprof-samples-section.c b/src/sysprof/sysprof-samples-section.c index f3c11b5c..b4e26c9f 100644 --- a/src/sysprof/sysprof-samples-section.c +++ b/src/sysprof/sysprof-samples-section.c @@ -22,6 +22,7 @@ #include "sysprof-chart.h" #include "sysprof-column-layer.h" +#include "sysprof-sampled-model.h" #include "sysprof-samples-section.h" #include "sysprof-session-model-item.h" #include "sysprof-session-model.h" @@ -79,6 +80,7 @@ sysprof_samples_section_class_init (SysprofSamplesSectionClass *klass) g_type_ensure (SYSPROF_TYPE_COLUMN_LAYER); g_type_ensure (SYSPROF_TYPE_DOCUMENT_SAMPLE); g_type_ensure (SYSPROF_TYPE_DOCUMENT_TRACEABLE); + g_type_ensure (SYSPROF_TYPE_SAMPLED_MODEL); g_type_ensure (SYSPROF_TYPE_TIME_FILTER_MODEL); g_type_ensure (SYSPROF_TYPE_TIME_SCRUBBER); g_type_ensure (SYSPROF_TYPE_TRACEABLES_UTILITY); diff --git a/src/sysprof/sysprof-samples-section.ui b/src/sysprof/sysprof-samples-section.ui index 63727951..7b7980be 100644 --- a/src/sysprof/sysprof-samples-section.ui +++ b/src/sysprof/sysprof-samples-section.ui @@ -41,19 +41,24 @@ - - - - SysprofSamplesSection - - - - - - SysprofSamplesSection - - - + + 5000 + + + + + SysprofSamplesSection + + + + + + SysprofSamplesSection + + + + +