qemu/include
Michael S. Tsirkin dc864d3a37 osdep: add getloadavg
getloadavg is supported on Linux, BSDs, Solaris.

Following man page:
RETURN VALUE
       If the load average was unobtainable, -1 is returned; otherwise,
       the number of samples actually retrieved is returned.

accordingly, make stub for systems which don't support this function return -1
for consistency.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2023-12-01 08:53:04 -05:00
..
2023-11-14 10:40:54 -08:00
2023-11-28 15:36:42 -05:00
2023-11-01 16:13:59 +01:00
2023-12-01 08:53:04 -05:00
2023-11-14 10:42:32 +01:00