mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-11 07:30:54 +00:00
libsysprof-gtk: include CPU in marks table
This can be useful when debugging things, so long as the app actually used the active CPU.
This commit is contained in:
@ -77,6 +77,41 @@
|
|||||||
</property>
|
</property>
|
||||||
</template>
|
</template>
|
||||||
</interface>
|
</interface>
|
||||||
|
]]>
|
||||||
|
</property>
|
||||||
|
</object>
|
||||||
|
</property>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkColumnViewColumn" id="cpu_column">
|
||||||
|
<property name="title" translatable="yes">CPU</property>
|
||||||
|
<property name="sorter">
|
||||||
|
<object class="GtkNumericSorter">
|
||||||
|
<property name="expression">
|
||||||
|
<lookup name="cpu" type="SysprofDocumentFrame"/>
|
||||||
|
</property>
|
||||||
|
</object>
|
||||||
|
</property>
|
||||||
|
<property name="factory">
|
||||||
|
<object class="GtkBuilderListItemFactory">
|
||||||
|
<property name="bytes"><![CDATA[
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<interface>
|
||||||
|
<template class="GtkListItem">
|
||||||
|
<property name="child">
|
||||||
|
<object class="GtkLabel">
|
||||||
|
<property name="xalign">1</property>
|
||||||
|
<property name="single-line-mode">true</property>
|
||||||
|
<binding name="label">
|
||||||
|
<lookup name="cpu" type="SysprofDocumentFrame">
|
||||||
|
<lookup name="item">GtkListItem</lookup>
|
||||||
|
</lookup>
|
||||||
|
</binding>
|
||||||
|
</object>
|
||||||
|
</property>
|
||||||
|
</template>
|
||||||
|
</interface>
|
||||||
]]>
|
]]>
|
||||||
</property>
|
</property>
|
||||||
</object>
|
</object>
|
||||||
|
|||||||
Reference in New Issue
Block a user