Lines Matching refs:loadavg
34 server->sysdeps.loadavg = _glibtop_sysdeps_loadavg; in _glibtop_init_loadavg_s()
42 struct tbl_loadavg loadavg; in glibtop_get_loadavg_s() local
49 ret = table (TBL_LOADAVG, 0, (char *) &loadavg, 1, in glibtop_get_loadavg_s()
56 if (loadavg.tl_lscale == 0) { in glibtop_get_loadavg_s()
57 buf->loadavg [0] = loadavg.tl_avenrun.d [0]; in glibtop_get_loadavg_s()
58 buf->loadavg [1] = loadavg.tl_avenrun.d [1]; in glibtop_get_loadavg_s()
59 buf->loadavg [2] = loadavg.tl_avenrun.d [2]; in glibtop_get_loadavg_s()
61 buf->loadavg [0] = in glibtop_get_loadavg_s()
62 (double) loadavg.tl_avenrun.l [0] / in glibtop_get_loadavg_s()
63 (double) loadavg.tl_mach_factor [0]; in glibtop_get_loadavg_s()
64 buf->loadavg [1] = in glibtop_get_loadavg_s()
65 (double) loadavg.tl_avenrun.l [1] in glibtop_get_loadavg_s()
66 / (double) loadavg.tl_mach_factor [1]; in glibtop_get_loadavg_s()
67 buf->loadavg [2] = in glibtop_get_loadavg_s()
68 (double) loadavg.tl_avenrun.l [2] / in glibtop_get_loadavg_s()
69 (double) loadavg.tl_mach_factor [2]; in glibtop_get_loadavg_s()