mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
governor: add UI to toggle CPU governor setting
This commit is contained in:
@ -159,7 +159,7 @@
|
||||
</object>
|
||||
<packing>
|
||||
<property name="column">center</property>
|
||||
<property name="row">3</property>
|
||||
<property name="row">4</property>
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
@ -415,6 +415,55 @@
|
||||
<property name="row">2</property>
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkLabel" id="label3">
|
||||
<property name="label" translatable="yes">Allow CPU Throttling</property>
|
||||
<property name="xalign">1.0</property>
|
||||
<property name="valign">start</property>
|
||||
<property name="visible">true</property>
|
||||
<style>
|
||||
<class name="dim-label"/>
|
||||
</style>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="column">left</property>
|
||||
<property name="row">3</property>
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkBox">
|
||||
<property name="orientation">vertical</property>
|
||||
<property name="spacing">3</property>
|
||||
<property name="visible">true</property>
|
||||
<child>
|
||||
<object class="GtkSwitch" id="allow_throttling">
|
||||
<property name="active">true</property>
|
||||
<property name="halign">start</property>
|
||||
<property name="valign">center</property>
|
||||
<property name="visible">true</property>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkLabel">
|
||||
<property name="label" translatable="yes">If disabled, your CPU will be placed in performance mode. It will be restored after profiling.</property>
|
||||
<property name="max-width-chars">10</property>
|
||||
<property name="wrap">true</property>
|
||||
<property name="visible">true</property>
|
||||
<property name="xalign">0.0</property>
|
||||
<attributes>
|
||||
<attribute name="scale" value="0.8333"/>
|
||||
</attributes>
|
||||
<style>
|
||||
<class name="dim-label"/>
|
||||
</style>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="column">center</property>
|
||||
<property name="row">3</property>
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkButton" id="record_button">
|
||||
<property name="label" translatable="yes">_Record</property>
|
||||
@ -430,7 +479,7 @@
|
||||
</object>
|
||||
<packing>
|
||||
<property name="column">center</property>
|
||||
<property name="row">4</property>
|
||||
<property name="row">5</property>
|
||||
</packing>
|
||||
</child>
|
||||
</object>
|
||||
@ -455,6 +504,8 @@
|
||||
<property name="mode">vertical</property>
|
||||
<widgets>
|
||||
<widget name="label2"/>
|
||||
<widget name="label3"/>
|
||||
<widget name="allow_throttling"/>
|
||||
<widget name="launch_switch"/>
|
||||
</widgets>
|
||||
</object>
|
||||
|
||||
Reference in New Issue
Block a user