Subject: Re: cp_time[] - current "long", should be "u_int64_t"?
To: None <>
From: Simon Burge <>
List: tech-kern
Date: 05/29/2000 12:29:15
Jason R Thorpe wrote:

> That reminds me... need to make cp_time[] a per-CPU variable :-)


As far a retrieving this info from the kernel, what about adding the CPU
number to the sysctl as the third level name (defaulting to CPU 0 if the
namelen is too short), and using CPU -1 to return the total for all CPUs?