#include "uv.h"
#include "internal.h"
#include <stdint.h>
#include <sys/sysinfo.h>
Go to the source code of this file.
◆ uv_loadavg()
void uv_loadavg |
( |
double |
avg[3] | ) |
|
Definition at line 28 of file sysinfo-loadavg.c.
33 avg[0] = (double)
info.loads[0] / 65536.0;
34 avg[1] = (
double)
info.loads[1] / 65536.0;
35 avg[2] = (double)
info.loads[2] / 65536.0;
RzBinInfo * info(RzBinFile *bf)
static const char struct stat static buf struct stat static buf static vhangup int struct rusage static rusage sysinfo
References info(), and sysinfo.