commit | 3e46a5c272c71930d3da7353cdc1f912528f1da8 | [log] [tgz] |
---|---|---|
author | Janosch Frank <frankja@linux.vnet.ibm.com> | Mon Jan 11 16:17:46 2016 +0100 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Tue Jan 26 15:58:12 2016 +0100 |
tree | a4a8e235489955a8ce4b4bf4293135e20d4720f8 | |
parent | 8d3b5ddc4e10eeda435c8f9ceecd15cd9ab284e7 [diff] |
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>