On 12/02/07, Vassili Karpov <[EMAIL PROTECTED]> wrote: > > How does the kernel calculates the value it places in `/proc/stat' at > 4th position (i.e. "idle: twiddling thumbs")? > .. > > Later small kernel module was developed that tried to time how much > time is spent in the idle handler inside the kernel and exported this > information to the user-space. The results were consistent with our > expectations and the output of the test utility. .. > http://www.boblycat.org/~malc/apc
Vassili Could you rewrite this code as a kernel patch for discussion/inclusion in mainline? I and maybe others would appreciate having idle statistics be more accurate. Thanks for your work Andrew - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/