|  |  |  | Libgtop Reference Manual |  | 
|---|---|---|---|---|
| Top | Description | ||||
#include <glibtop/sysinfo.h> #define GLIBTOP_SYSINFO_NCPU #define GLIBTOP_SYSINFO_CPUINFO #define GLIBTOP_MAX_SYSINFO struct glibtop_sysinfo; struct glibtop_entry; #define glibtop_get_sysinfo_r const glibtop_sysinfo * glibtop_get_sysinfo_s (glibtop *server); const glibtop_sysinfo * glibtop_get_sysinfo (void);
struct glibtop_sysinfo {
	guint64 flags;
	guint64 ncpu;
	glibtop_entry cpuinfo [GLIBTOP_NCPU];
};
struct glibtop_entry {
	GPtrArray *labels;
	GHashTable *values; /* key -> description */
	GHashTable *descriptions; /* unused */
};
const glibtop_sysinfo * glibtop_get_sysinfo_s           (glibtop *server);
| 
 | |
| Returns : |