|
|
1.1 root 1: /* m-file for Alliant Concentrix 4.0 or later.
2: Use m-alliant.h for versions 2 and 3. */
3:
4: #include "m-alliant.h"
5:
6: /* Concentrix uses a different kernel symbol for load average. */
7:
8: #undef LDAV_SYMBOL /* Undo definition in s-bsd4-2.h */
9: #define LDAV_SYMBOL "_Loadavg"
10:
11: /* Data type of load average, as read out of kmem. */
12:
13: #define LOAD_AVE_TYPE long
14:
15: /* Convert that into an integer that is 100 for a load average of 1.0 */
16:
17: #define LOAD_AVE_CVT(x) (x * 100 / LOADAVG_SCALE)
18:
19: /* include <sys/param.h> for the definition of LOADAVG_SCALE, and also
20: LOADAVG_SIZE, the number of items in the Loadavg array. */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.