libsysprof-ui: add cpu info to details page

This commit is contained in:
Christian Hergert
2019-05-29 14:50:36 -07:00
parent 4cfbb9a857
commit 3556309e86
2 changed files with 129 additions and 14 deletions

View File

@ -60,9 +60,9 @@
</child>
<child>
<object class="GtkLabel">
<property name="margin-top">12</property>
<property name="visible">True</property>
<property name="label" translatable="yes">Samples Captured</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">CPU Model</property>
<property name="xalign">1</property>
<style>
<class name="dim-label"/>
@ -75,8 +75,9 @@
</child>
<child>
<object class="GtkLabel">
<property name="margin-top">12</property>
<property name="visible">True</property>
<property name="label" translatable="yes">Marks Captured</property>
<property name="label" translatable="yes">Samples Captured</property>
<property name="xalign">1</property>
<style>
<class name="dim-label"/>
@ -90,7 +91,7 @@
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="label" translatable="yes">Processes Captured</property>
<property name="label" translatable="yes">Marks Captured</property>
<property name="xalign">1</property>
<style>
<class name="dim-label"/>
@ -104,7 +105,7 @@
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="label" translatable="yes">Forks Captured</property>
<property name="label" translatable="yes">Processes Captured</property>
<property name="xalign">1</property>
<style>
<class name="dim-label"/>
@ -115,6 +116,20 @@
<property name="row">6</property>
</packing>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="label" translatable="yes">Forks Captured</property>
<property name="xalign">1</property>
<style>
<class name="dim-label"/>
</style>
</object>
<packing>
<property name="column">left</property>
<property name="row">7</property>
</packing>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
@ -127,7 +142,7 @@
</object>
<packing>
<property name="column">left</property>
<property name="row">7</property>
<property name="row">8</property>
</packing>
</child>
<child>
@ -167,11 +182,10 @@
</packing>
</child>
<child>
<object class="GtkLabel" id="samples">
<property name="margin-top">12</property>
<object class="GtkLabel" id="cpu_label">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="ellipsize">start</property>
<property name="ellipsize">end</property>
<property name="xalign">0</property>
</object>
<packing>
@ -180,7 +194,8 @@
</packing>
</child>
<child>
<object class="GtkLabel" id="marks">
<object class="GtkLabel" id="samples">
<property name="margin-top">12</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="ellipsize">start</property>
@ -192,7 +207,7 @@
</packing>
</child>
<child>
<object class="GtkLabel" id="processes">
<object class="GtkLabel" id="marks">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="ellipsize">start</property>
@ -204,7 +219,7 @@
</packing>
</child>
<child>
<object class="GtkLabel" id="forks">
<object class="GtkLabel" id="processes">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="ellipsize">start</property>
@ -215,6 +230,18 @@
<property name="row">6</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="forks">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="ellipsize">start</property>
<property name="xalign">0</property>
</object>
<packing>
<property name="column">center</property>
<property name="row">7</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="counters">
<property name="visible">True</property>
@ -225,7 +252,7 @@
</object>
<packing>
<property name="column">center</property>
<property name="row">7</property>
<property name="row">8</property>
</packing>
</child>
<child>
@ -311,7 +338,7 @@
</object>
<packing>
<property name="column">center</property>
<property name="row">8</property>
<property name="row">9</property>
</packing>
</child>
</object>