preferences: Allow disabling VM CPU poll

With this, the only libvirt API call we hit on each tick is the
connection nodeinfo.
This commit is contained in:
Cole Robinson
2014-02-11 15:29:30 -05:00
parent a70b836b2d
commit d220cc5d52
7 changed files with 98 additions and 28 deletions

View File

@@ -116,11 +116,15 @@
<description>The statistics update interval in seconds</description>
</key>
<key name="enable-cpu-poll" type="b">
<default>true</default>
<summary>Poll VM CPU stats</summary>
<description>Whether or not the app will poll VM CPU statistics</description>
</key>
<key name="enable-disk-poll" type="b">
<default>false</default>
<summary>Poll disk i/o stats</summary>
<description>Whether or not the app will poll VM disk i/o statistics</description>
</key>
<key name="enable-net-poll" type="b">
<default>false</default>