Re: [PATCH] CPU frequency display in /proc/cpuinfo

From: Horst von Brand
Date: Sun Dec 04 2005 - 20:22:31 EST


Lee Revell <rlrevell@xxxxxxxxxxx> wrote:

[...]

> Wrong, lots of userspace programs that need to know the CPU speed get it
> from /proc/cpuinfo. It would be nice if there were a better API.

Why would a /user/ program need to know what the CPU speed is?

In any case, /proc is not the place for this, as it has nothing to do with
processes.
--
Dr. Horst H. von Brand User #22616 counter.li.org
Departamento de Informatica Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria +56 32 654239
Casilla 110-V, Valparaiso, Chile Fax: +56 32 797513

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/