ccpu

xtdn at levels.sait.edu.au xtdn at levels.sait.edu.au
Sat Apr 20 00:36:05 AEST 1991


Ray.Moody at Cray.Com writes:
> Ccpu is used compute a processes percent CPU utilization.  It is a
> constant traditionally set to exp(-1/20).  It is unusual in that it is
> one of the very few floating point numbers in the kernel.

What about the comp_t fields in struct acct?  They, while not floats,
are apparently floating point fields.

Or did you mean that ccpu is one of the few floating point constants in
the kernel?

David Newall, who no longer works       Phone:  +61 8 344 2008
for SA Institute of Technology          E-mail: xtdn at lux.sait.edu.au
                "Life is uncertain:  Eat dessert first"



More information about the Comp.unix.wizards mailing list