Exposes the processor model

Accessing processor model becomes easier

Signed off: Dr. James Dominic P. Guana <jdpguana@histark.com>
This commit is contained in:
James Dominic P. Guana
2021-08-20 23:18:58 +00:00
committed by Robert Roth
parent 629097436a
commit e89475c0b2

View File

@@ -50,8 +50,8 @@ struct _glibtop_sysinfo
{ {
guint64 flags; guint64 flags;
guint64 ncpu; guint64 ncpu;
gchar *model;
glibtop_entry cpuinfo [GLIBTOP_NCPU]; glibtop_entry cpuinfo [GLIBTOP_NCPU];
gchar *model;
}; };
#define glibtop_get_sysinfo_r glibtop_get_sysinfo_s #define glibtop_get_sysinfo_r glibtop_get_sysinfo_s