mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +00:00
sysprof: use sampled model to limit input to xy series
This commit is contained in:
@ -22,6 +22,7 @@
|
|||||||
|
|
||||||
#include "sysprof-chart.h"
|
#include "sysprof-chart.h"
|
||||||
#include "sysprof-column-layer.h"
|
#include "sysprof-column-layer.h"
|
||||||
|
#include "sysprof-sampled-model.h"
|
||||||
#include "sysprof-samples-section.h"
|
#include "sysprof-samples-section.h"
|
||||||
#include "sysprof-session-model-item.h"
|
#include "sysprof-session-model-item.h"
|
||||||
#include "sysprof-session-model.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_COLUMN_LAYER);
|
||||||
g_type_ensure (SYSPROF_TYPE_DOCUMENT_SAMPLE);
|
g_type_ensure (SYSPROF_TYPE_DOCUMENT_SAMPLE);
|
||||||
g_type_ensure (SYSPROF_TYPE_DOCUMENT_TRACEABLE);
|
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_FILTER_MODEL);
|
||||||
g_type_ensure (SYSPROF_TYPE_TIME_SCRUBBER);
|
g_type_ensure (SYSPROF_TYPE_TIME_SCRUBBER);
|
||||||
g_type_ensure (SYSPROF_TYPE_TRACEABLES_UTILITY);
|
g_type_ensure (SYSPROF_TYPE_TRACEABLES_UTILITY);
|
||||||
|
|||||||
@ -40,6 +40,9 @@
|
|||||||
</property>
|
</property>
|
||||||
<property name="series">
|
<property name="series">
|
||||||
<object class="SysprofXYSeries">
|
<object class="SysprofXYSeries">
|
||||||
|
<property name="model">
|
||||||
|
<object class="SysprofSampledModel">
|
||||||
|
<property name="max-items">5000</property>
|
||||||
<property name="model">
|
<property name="model">
|
||||||
<object class="SysprofTimeFilterModel">
|
<object class="SysprofTimeFilterModel">
|
||||||
<binding name="time-span">
|
<binding name="time-span">
|
||||||
@ -56,6 +59,8 @@
|
|||||||
</binding>
|
</binding>
|
||||||
</object>
|
</object>
|
||||||
</property>
|
</property>
|
||||||
|
</object>
|
||||||
|
</property>
|
||||||
<property name="x-expression">
|
<property name="x-expression">
|
||||||
<lookup name="time" type="SysprofDocumentFrame"/>
|
<lookup name="time" type="SysprofDocumentFrame"/>
|
||||||
</property>
|
</property>
|
||||||
|
|||||||
Reference in New Issue
Block a user