cpu: discover cpu counters from SpCaptureReader

This allows us to dynamically discover the cpu counters from the
capture by looking for the "CPU Total" category.
This commit is contained in:
Christian Hergert
2016-09-25 12:19:53 -07:00
parent 84c61c3344
commit 3b9ea07d31
6 changed files with 340 additions and 89 deletions

View File

@ -172,7 +172,7 @@
<object class="GtkListBox" id="visualizer_rows">
<property name="visible">true</property>
<child>
<object class="SpLineVisualizerRow" id="cpu_row">
<object class="SpCpuVisualizerRow" id="cpu_row">
<property name="title" translatable="yes">CPU</property>
<property name="height-request">75</property>
<property name="selectable">false</property>