summaryrefslogtreecommitdiffstats
path: root/scripts/switch-timer-api
diff options
context:
space:
mode:
authorJanosch Frank2016-01-11 16:17:46 +0100
committerPaolo Bonzini2016-01-26 15:58:12 +0100
commit3e46a5c272c71930d3da7353cdc1f912528f1da8 (patch)
treea4a8e235489955a8ce4b4bf4293135e20d4720f8 /scripts/switch-timer-api
parentscripts/kvm/kvm_stat: Cleanup of platform detection (diff)
downloadqemu-3e46a5c272c71930d3da7353cdc1f912528f1da8.tar.gz
qemu-3e46a5c272c71930d3da7353cdc1f912528f1da8.tar.xz
qemu-3e46a5c272c71930d3da7353cdc1f912528f1da8.zip
scripts/kvm/kvm_stat: Make cpu detection a function
The online cpus detection method is in the Stats class but does not use any class variables. Moving it out of the class to the platform detection function makes the Stats class more readable. Signed-off-by: Janosch Frank <frankja@linux.vnet.ibm.com> Message-Id: <1452525484-32309-17-git-send-email-frankja@linux.vnet.ibm.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/switch-timer-api')
0 files changed, 0 insertions, 0 deletions