Merge branch 'sigar-1.6'
This commit is contained in:
commit
6a8f3d3d79
|
@ -378,7 +378,7 @@ public class Sigar implements SigarProxy {
|
||||||
CpuPerc[] perc =
|
CpuPerc[] perc =
|
||||||
new CpuPerc[curLen < oldLen ? curLen : oldLen];
|
new CpuPerc[curLen < oldLen ? curLen : oldLen];
|
||||||
|
|
||||||
for (int i=0; i<curLen; i++) {
|
for (int i=0; i<perc.length; i++) {
|
||||||
perc[i] =
|
perc[i] =
|
||||||
CpuPerc.fetch(this, oldCpuList[i],
|
CpuPerc.fetch(this, oldCpuList[i],
|
||||||
this.lastCpuList[i]);
|
this.lastCpuList[i]);
|
||||||
|
|
Loading…
Reference in New Issue