v1:
https://www.redhat.com/archives/libvir-list/2014-January/msg00951.html
v2:
use ticks instead of nsecs in test data
Ján Tomko (2):
Add test for linuxNodeGetCPUStats
Simplify linuxNodeGetCPUStats
src/libvirt_linux.syms | 1 +
src/nodeinfo.c | 83 +++++++--------
tests/nodeinfodata/linux-cpustat-24cpu.out | 150 ++++++++++++++++++++++++++++
tests/nodeinfodata/linux-cpustat-24cpu.stat | 25 +++++
tests/nodeinfotest.c | 131 ++++++++++++++++++++++++
5 files changed, 342 insertions(+), 48 deletions(-)
create mode 100644 tests/nodeinfodata/linux-cpustat-24cpu.out
create mode 100644 tests/nodeinfodata/linux-cpustat-24cpu.stat
--
1.8.3.2