mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
sysprof: limit number of samples sent for normalization
This commit is contained in:
@ -32,6 +32,7 @@
|
||||
#include "sysprof-column-layer.h"
|
||||
#include "sysprof-memory-callgraph-view.h"
|
||||
#include "sysprof-memory-section.h"
|
||||
#include "sysprof-sampled-model.h"
|
||||
#include "sysprof-session-model-item.h"
|
||||
#include "sysprof-session-model.h"
|
||||
#include "sysprof-time-series.h"
|
||||
@ -181,6 +182,7 @@ sysprof_memory_section_class_init (SysprofMemorySectionClass *klass)
|
||||
g_type_ensure (SYSPROF_TYPE_DOCUMENT_ALLOCATION);
|
||||
g_type_ensure (SYSPROF_TYPE_DOCUMENT_TRACEABLE);
|
||||
g_type_ensure (SYSPROF_TYPE_MEMORY_CALLGRAPH_VIEW);
|
||||
g_type_ensure (SYSPROF_TYPE_SAMPLED_MODEL);
|
||||
g_type_ensure (SYSPROF_TYPE_VALUE_AXIS);
|
||||
g_type_ensure (SYSPROF_TYPE_XY_SERIES);
|
||||
}
|
||||
|
||||
@ -41,19 +41,24 @@
|
||||
<property name="series">
|
||||
<object class="SysprofXYSeries">
|
||||
<property name="model">
|
||||
<object class="SysprofTimeFilterModel">
|
||||
<binding name="time-span">
|
||||
<lookup name="visible-time" type="SysprofSession">
|
||||
<lookup name="session">SysprofMemorySection</lookup>
|
||||
</lookup>
|
||||
</binding>
|
||||
<binding name="model">
|
||||
<lookup name="allocations" type="SysprofDocument">
|
||||
<lookup name="document" type="SysprofSession">
|
||||
<lookup name="session">SysprofMemorySection</lookup>
|
||||
</lookup>
|
||||
</lookup>
|
||||
</binding>
|
||||
<object class="SysprofSampledModel">
|
||||
<property name="max-items">5000</property>
|
||||
<property name="model">
|
||||
<object class="SysprofTimeFilterModel">
|
||||
<binding name="time-span">
|
||||
<lookup name="visible-time" type="SysprofSession">
|
||||
<lookup name="session">SysprofMemorySection</lookup>
|
||||
</lookup>
|
||||
</binding>
|
||||
<binding name="model">
|
||||
<lookup name="allocations" type="SysprofDocument">
|
||||
<lookup name="document" type="SysprofSession">
|
||||
<lookup name="session">SysprofMemorySection</lookup>
|
||||
</lookup>
|
||||
</lookup>
|
||||
</binding>
|
||||
</object>
|
||||
</property>
|
||||
</object>
|
||||
</property>
|
||||
<property name="x-expression">
|
||||
|
||||
Reference in New Issue
Block a user