diff options
| author | Janosch Frank | 2016-01-11 16:17:46 +0100 |
|---|---|---|
| committer | Paolo Bonzini | 2016-01-26 15:58:12 +0100 |
| commit | 3e46a5c272c71930d3da7353cdc1f912528f1da8 (patch) | |
| tree | a4a8e235489955a8ce4b4bf4293135e20d4720f8 /scripts/switch-timer-api | |
| parent | scripts/kvm/kvm_stat: Cleanup of platform detection (diff) | |
| download | qemu-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
