|
|
| version 1.44, 2004/03/05 16:57:16 | version 1.45, 2004/03/20 19:21:06 |
|---|---|
| Line 395 TAILQ_HEAD(rq, proc); | Line 395 TAILQ_HEAD(rq, proc); |
| #define ESTCPURAMP 8 /* higher equals slower */ | #define ESTCPURAMP 8 /* higher equals slower */ |
| #define NICE_ADJUST(value) (((unsigned int)(NICE_WEIGHT * 128) * (value)) / 128) | #define NICE_ADJUST(value) (((unsigned int)(NICE_WEIGHT * 128) * (value)) / 128) |
| #define ESTCPULIM(v) min((v), (MAXPRI - NICE_ADJUST(PRIO_MAX - PRIO_MIN)) * ESTCPURAMP) | #define ESTCPULIM(v) min((v), (MAXPRI - NICE_ADJUST(PRIO_MAX - PRIO_MIN)) * ESTCPURAMP) |
| #define ESTCPUFREQ 10 /* estcpu update frequency */ | |
| #define NICE_WEIGHT 2.0 /* priorities per nice level */ | #define NICE_WEIGHT 2.0 /* priorities per nice level */ |
| #define PPQ ((MAXPRI + 1) / NQS) /* priorities per queue */ | #define PPQ ((MAXPRI + 1) / NQS) /* priorities per queue */ |