}
public void testCreate() throws Exception {
Sigar sigar = getSigar();
ThreadCpu cpu;
try {
cpu = sigar.getThreadCpu();
} catch (SigarNotImplementedException e) {
return;
}
assertGtEqZeroTrace("User", cpu.getUser());
assertGtEqZeroTrace("Sys", cpu.getSys());
assertGtEqZeroTrace("Total", cpu.getTotal());
CpuTimer timer = new CpuTimer(sigar);
timer.start();
for (int i=0; i<1000000; i++) {