Home
last modified time | relevance | path

Searched refs:avenrun (Results 1 – 11 of 11) sorted by relevance

/titanic_44/usr/src/cmd/rpcsvc/
H A Drup.c65 long avenrun[3]; member
230 sw_var.avenrun);
232 putline(st.curtime.tv_sec, st.boottime, st.avenrun);
241 memcpy(entry[curentry].avenrun, st.avenrun, AVENSIZE);
248 memcpy(entry[curentry].avenrun, sw_var.avenrun,
268 putline(now, boottime, avenrun) in putline() argument
271 long avenrun[];
300 for (i = 0; i < (AVENSIZE / sizeof (avenrun[0])); i++) {
303 printf(" %.2f", (double)avenrun[i]/FSCALE);
378 putline(st->curtime.tv_sec, st->boottime, st->avenrun);
[all …]
H A Drstat_proc.c422 stats_s2.avenrun[0] = in updatestat()
423 stats_s3.avenrun[0] = in updatestat()
424 stats_s4.avenrun[0] = avenrun_1min_knp->value.ul; in updatestat()
425 stats_s2.avenrun[1] = in updatestat()
426 stats_s3.avenrun[1] = in updatestat()
427 stats_s4.avenrun[1] = avenrun_5min_knp->value.ul; in updatestat()
428 stats_s2.avenrun[2] = in updatestat()
429 stats_s3.avenrun[2] = in updatestat()
430 stats_s4.avenrun[2] = avenrun_15min_knp->value.ul; in updatestat()
432 fprintf(stderr, "avenrun: %d %d %d\n", stats_s3.avenrun[0], in updatestat()
[all …]
H A Drstat_v2.x71 int avenrun[3]; member
/titanic_44/usr/src/cmd/sendmail/src/
H A Dconf.c1460 long avenrun[3]; in getla() local
1463 short avenrun[3]; in getla() local
1466 long long avenrun[3]; in getla() local
1468 double avenrun[3]; in getla() local
1527 read(kmem, (char *) avenrun, sizeof(avenrun)) != sizeof(avenrun)) in getla()
1539 sm_dprintf("getla: avenrun = %d", avenrun[0]); in getla()
1541 sm_dprintf(", %d, %d", avenrun[1], avenrun[2]); in getla()
1544 sm_dprintf("getla: avenrun = %lld", avenrun[0]); in getla()
1546 sm_dprintf(", %lld, %lld", avenrun[1], avenrun[2]); in getla()
1548 sm_dprintf("getla: avenrun = %ld", avenrun[0]); in getla()
[all …]
/titanic_44/usr/src/uts/common/syscall/
H A Dgetloadavg.c42 int *loadbuf = &avenrun[0]; in getloadavg()
54 error = copyout(loadbuf, buf, nelem * sizeof (avenrun[0])); in getloadavg()
/titanic_44/usr/src/head/rpcsvc/
H A Drstat.x123 int avenrun[3]; member
141 int avenrun[3]; member
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.rwhod.c372 double avenrun[3]; in onalrm() local
437 if (getloadavg(avenrun, 3) == -1) { in onalrm()
443 mywd.wd_loadav[i] = htonl((ulong_t)(avenrun[i] * 100)); in onalrm()
/titanic_44/usr/src/uts/common/sys/
H A Dsystm.h104 extern int avenrun[]; /* array of load averages */
/titanic_44/usr/src/uts/common/os/
H A Dclock.c101 int avenrun[3]; /* FSCALED average run queue lengths */ variable
895 avenrun[i] = (int32_t)(hp_avenrun[i] >> in clock()
898 avenrun[i] = 0x7fffffff; in clock()
H A Dsched.c185 if (avenrun[0] >= 2 * FSCALE && in sched()
H A Dkstat_fr.c811 int *loadavgp = &avenrun[0]; in system_misc_kstat_update()