+ (1.0 - ccpu) * (pp->p_cpticks/(float)hz);
+ /*
+ * Recompute process priority. The number p_cpu
+ * is a weighted estimate of cpu time consumed.
+ * A process which consumes cpu time has this
+ * increase regularly. We here decrease it by
+ * a fraction (SCHMAG is 90%), giving a digital
+ * decay filter which damps out in about 10 seconds.
+ *
+ * If a process is niced, then the nice directly
+ * affects the new priority. The final priority
+ * is in the range 0 to 255, to fit in a character.
+ */