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