Add sysinfo example

Retrieve cpu model via hashtable & number of logical cpu via exposed variable

Signed off: Dr. James Dominic P. Guana <jdpguana@histark.com>
This commit is contained in:
James Dominic P. Guana
2021-08-21 16:17:13 +00:00
committed by Robert Roth
parent e89475c0b2
commit f92f6ea029
3 changed files with 3 additions and 23 deletions

View File

@@ -51,7 +51,6 @@ struct _glibtop_sysinfo
guint64 flags;
guint64 ncpu;
glibtop_entry cpuinfo [GLIBTOP_NCPU];
gchar *model;
};
#define glibtop_get_sysinfo_r glibtop_get_sysinfo_s