diff options
author | Janosch Frank <frankja@linux.vnet.ibm.com> | 2016-01-11 16:17:46 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-01-26 15:58:12 +0100 |
commit | 3e46a5c272c71930d3da7353cdc1f912528f1da8 (patch) | |
tree | a4a8e235489955a8ce4b4bf4293135e20d4720f8 /include/qemu | |
parent | 8d3b5ddc4e10eeda435c8f9ceecd15cd9ab284e7 (diff) | |
download | qemu-3e46a5c272c71930d3da7353cdc1f912528f1da8.zip qemu-3e46a5c272c71930d3da7353cdc1f912528f1da8.tar.gz qemu-3e46a5c272c71930d3da7353cdc1f912528f1da8.tar.bz2 |
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 'include/qemu')
0 files changed, 0 insertions, 0 deletions