On 01/21/2014 02:08 PM, Ján Tomko wrote: > Check if cpu stats are read correctly from a sample > /proc/stat collected from a 24 CPU machine. > --- > src/libvirt_linux.syms | 1 + > src/nodeinfo.c | 6 +- > tests/nodeinfodata/linux-cpustat-24cpu.out | 150 ++++++++++++++++++++++++++++ > tests/nodeinfodata/linux-cpustat-24cpu.stat | 25 +++++ > tests/nodeinfotest.c | 128 ++++++++++++++++++++++++ > 5 files changed, 309 insertions(+), 1 deletion(-) > create mode 100644 tests/nodeinfodata/linux-cpustat-24cpu.out > create mode 100644 tests/nodeinfodata/linux-cpustat-24cpu.stat > > @@ -681,7 +685,7 @@ cleanup: > > # define TICK_TO_NSEC (1000ull * 1000ull * 1000ull / sysconf(_SC_CLK_TCK)) > This makes the test result depend on the _SC_CLK_TCK value, I'll send a v2 using tick in the expected output instead of nsecs. Jan
Attachment:
signature.asc
Description: OpenPGP digital signature
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list