Searched refs:avg (Results 1 – 17 of 17) sorted by relevance
/libuv/test/ |
H A D | test-get-loadavg.c | 27 double avg[3] = {-1, -1, -1}; in TEST_IMPL() local 28 uv_loadavg(avg); in TEST_IMPL() 30 ASSERT_GE(avg[0], 0); in TEST_IMPL() 31 ASSERT_GE(avg[1], 0); in TEST_IMPL() 32 ASSERT_GE(avg[2], 0); in TEST_IMPL()
|
/libuv/src/unix/ |
H A D | sysinfo-loadavg.c | 28 void uv_loadavg(double avg[3]) { in uv_loadavg() 33 avg[0] = (double) info.loads[0] / 65536.0; in uv_loadavg() 34 avg[1] = (double) info.loads[1] / 65536.0; in uv_loadavg() 35 avg[2] = (double) info.loads[2] / 65536.0; in uv_loadavg()
|
H A D | hurd.c | 123 void uv_loadavg(double avg[3]) { in uv_loadavg() 127 if (3 == sscanf(buf, "%lf %lf %lf", &avg[0], &avg[1], &avg[2])) in uv_loadavg()
|
H A D | qnx.c | 51 void uv_loadavg(double avg[3]) { in uv_loadavg() 52 avg[0] = 0.0; in uv_loadavg() 53 avg[1] = 0.0; in uv_loadavg() 54 avg[2] = 0.0; in uv_loadavg()
|
H A D | haiku.c | 29 void uv_loadavg(double avg[3]) { in uv_loadavg() 30 avg[0] = 0; in uv_loadavg() 31 avg[1] = 0; in uv_loadavg() 32 avg[2] = 0; in uv_loadavg()
|
H A D | ibmi.c | 257 void uv_loadavg(double avg[3]) { in uv_loadavg() 261 avg[0] = avg[1] = avg[2] = 0; in uv_loadavg() 272 avg[0] = avg[1] = avg[2] = processing_unit_used_percent; in uv_loadavg()
|
H A D | darwin.c | 133 void uv_loadavg(double avg[3]) { in uv_loadavg() 140 avg[0] = (double) info.ldavg[0] / info.fscale; in uv_loadavg() 141 avg[1] = (double) info.ldavg[1] / info.fscale; in uv_loadavg() 142 avg[2] = (double) info.ldavg[2] / info.fscale; in uv_loadavg()
|
H A D | freebsd.c | 129 void uv_loadavg(double avg[3]) { in uv_loadavg() 136 avg[0] = (double) info.ldavg[0] / info.fscale; in uv_loadavg() 137 avg[1] = (double) info.ldavg[1] / info.fscale; in uv_loadavg() 138 avg[2] = (double) info.ldavg[2] / info.fscale; in uv_loadavg()
|
H A D | openbsd.c | 48 void uv_loadavg(double avg[3]) { in uv_loadavg() 55 avg[0] = (double) info.ldavg[0] / info.fscale; in uv_loadavg() 56 avg[1] = (double) info.ldavg[1] / info.fscale; in uv_loadavg() 57 avg[2] = (double) info.ldavg[2] / info.fscale; in uv_loadavg()
|
H A D | netbsd.c | 53 void uv_loadavg(double avg[3]) { in uv_loadavg() 60 avg[0] = (double) info.ldavg[0] / info.fscale; in uv_loadavg() 61 avg[1] = (double) info.ldavg[1] / info.fscale; in uv_loadavg() 62 avg[2] = (double) info.ldavg[2] / info.fscale; in uv_loadavg()
|
H A D | aix.c | 408 void uv_loadavg(double avg[3]) { in uv_loadavg() 412 avg[0] = 0.; avg[1] = 0.; avg[2] = 0.; in uv_loadavg() 415 avg[0] = ps_total.loadavg[0] / (double)(1 << SBITS); in uv_loadavg() 416 avg[1] = ps_total.loadavg[1] / (double)(1 << SBITS); in uv_loadavg() 417 avg[2] = ps_total.loadavg[2] / (double)(1 << SBITS); in uv_loadavg()
|
H A D | os390.c | 106 void uv_loadavg(double avg[3]) { in uv_loadavg() 108 avg[0] = 0; in uv_loadavg() 109 avg[1] = 0; in uv_loadavg() 110 avg[2] = 0; in uv_loadavg()
|
H A D | linux.c | 2418 void uv_loadavg(double avg[3]) { in uv_loadavg() 2423 if (3 == sscanf(buf, "%lf %lf %lf", &avg[0], &avg[1], &avg[2])) in uv_loadavg() 2429 avg[0] = (double) info.loads[0] / 65536.0; in uv_loadavg() 2430 avg[1] = (double) info.loads[1] / 65536.0; in uv_loadavg() 2431 avg[2] = (double) info.loads[2] / 65536.0; in uv_loadavg()
|
H A D | sunos.c | 425 void uv_loadavg(double avg[3]) { in uv_loadavg() 426 (void) getloadavg(avg, 3); in uv_loadavg()
|
/libuv/src/win/ |
H A D | util.c | 273 void uv_loadavg(double avg[3]) { in uv_loadavg() 275 avg[0] = avg[1] = avg[2] = 0; in uv_loadavg()
|
/libuv/include/ |
H A D | uv.h | 1714 UV_EXTERN void uv_loadavg(double avg[3]);
|
/libuv/docs/src/ |
H A D | misc.rst | 421 .. c:function:: void uv_loadavg(double avg[3])
|
Completed in 45 milliseconds