mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof-ui: use AdwPreferencesPage for memprof page
This commit is contained in:
@ -55,147 +55,65 @@
|
||||
<child>
|
||||
<object class="GtkStack" id="stack">
|
||||
<child>
|
||||
<object class="GtkScrolledWindow" id="summary_page">
|
||||
<property name="hscrollbar-policy">never</property>
|
||||
<object class="AdwPreferencesPage" id="summary_page">
|
||||
<child>
|
||||
<object class="GtkBox">
|
||||
<property name="margin-top">16</property>
|
||||
<property name="margin-bottom">16</property>
|
||||
<property name="margin-start">16</property>
|
||||
<property name="margin-end">16</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<object class="AdwPreferencesGroup">
|
||||
<child>
|
||||
<object class="EggThreeGrid">
|
||||
<property name="hexpand">true</property>
|
||||
<property name="row-spacing">6</property>
|
||||
<property name="column-spacing">18</property>
|
||||
<child>
|
||||
<object class="GtkLabel">
|
||||
<property name="label">Peak Allocation</property>
|
||||
<property name="halign">end</property>
|
||||
<property name="visible">false</property>
|
||||
<style>
|
||||
<class name="dim-label"/>
|
||||
</style>
|
||||
<layout>
|
||||
<property name="column">left</property>
|
||||
<property name="row">0</property>
|
||||
</layout>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkLabel" id="peak_allocs">
|
||||
<property name="xalign">0</property>
|
||||
<property name="selectable">true</property>
|
||||
<property name="visible">false</property>
|
||||
<layout>
|
||||
<property name="column">center</property>
|
||||
<property name="row">0</property>
|
||||
</layout>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkLabel">
|
||||
<property name="label">Number of Allocations</property>
|
||||
<property name="halign">end</property>
|
||||
<style>
|
||||
<class name="dim-label"/>
|
||||
</style>
|
||||
<layout>
|
||||
<property name="column">left</property>
|
||||
<property name="row">1</property>
|
||||
</layout>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="AdwActionRow">
|
||||
<property name="activatable">false</property>
|
||||
<property name="title" translatable="yes">Number of Allocations</property>
|
||||
<property name="subtitle" translatable="yes">Total number of allocation and free records</property>
|
||||
<child type="suffix">
|
||||
<object class="GtkLabel" id="num_allocs">
|
||||
<property name="xalign">0</property>
|
||||
<property name="hexpand">true</property>
|
||||
<property name="xalign">1</property>
|
||||
<property name="selectable">true</property>
|
||||
<layout>
|
||||
<property name="column">center</property>
|
||||
<property name="row">1</property>
|
||||
</layout>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkLabel">
|
||||
<property name="label">Leaked Allocations</property>
|
||||
<property name="halign">end</property>
|
||||
<property name="visible">false</property>
|
||||
<style>
|
||||
<class name="dim-label"/>
|
||||
</style>
|
||||
<layout>
|
||||
<property name="column">left</property>
|
||||
<property name="row">2</property>
|
||||
</layout>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="AdwActionRow">
|
||||
<property name="activatable">false</property>
|
||||
<property name="title" translatable="yes">Leaked Allocations</property>
|
||||
<property name="subtitle" translatable="yes">Number of allocations without a free record</property>
|
||||
<child type="suffix">
|
||||
<object class="GtkLabel" id="leaked_allocs">
|
||||
<property name="xalign">0</property>
|
||||
<property name="hexpand">true</property>
|
||||
<property name="xalign">1</property>
|
||||
<property name="selectable">true</property>
|
||||
<property name="visible">false</property>
|
||||
<layout>
|
||||
<property name="column">center</property>
|
||||
<property name="row">2</property>
|
||||
</layout>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkLabel">
|
||||
<property name="label">Temporary Allocations</property>
|
||||
<property name="halign">end</property>
|
||||
<style>
|
||||
<class name="dim-label"/>
|
||||
</style>
|
||||
<layout>
|
||||
<property name="column">left</property>
|
||||
<property name="row">3</property>
|
||||
</layout>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="AdwActionRow">
|
||||
<property name="activatable">false</property>
|
||||
<property name="title" translatable="yes">Temporary Allocations</property>
|
||||
<property name="subtitle" translatable="yes">Number of allocations freed from similar stack trace</property>
|
||||
<child type="suffix">
|
||||
<object class="GtkLabel" id="temp_allocs_count">
|
||||
<property name="xalign">0</property>
|
||||
<property name="hexpand">true</property>
|
||||
<property name="xalign">1</property>
|
||||
<property name="selectable">true</property>
|
||||
<property name="width-chars">50</property>
|
||||
<layout>
|
||||
<property name="column">center</property>
|
||||
<property name="row">3</property>
|
||||
</layout>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkLabel">
|
||||
<property name="label">Allocations by Size</property>
|
||||
<property name="halign">end</property>
|
||||
<property name="valign">start</property>
|
||||
<style>
|
||||
<class name="dim-label"/>
|
||||
</style>
|
||||
<layout>
|
||||
<property name="column">left</property>
|
||||
<property name="row">4</property>
|
||||
</layout>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkFrame">
|
||||
<child>
|
||||
<object class="GtkListBox" id="by_size">
|
||||
</object>
|
||||
</child>
|
||||
<layout>
|
||||
<property name="column">center</property>
|
||||
<property name="row">4</property>
|
||||
</layout>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="AdwPreferencesGroup">
|
||||
<property name="title" translatable="yes">Allocations by Size</property>
|
||||
<child>
|
||||
<object class="GtkListBox" id="by_size">
|
||||
<style>
|
||||
<class name="boxed-list"/>
|
||||
</style>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
|
||||
Reference in New Issue
Block a user