summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Dominic P. Guana <guana.histark@gmail.com>2021-08-20 23:18:58 +0000
committerRobert Roth <robert.roth.off@gmail.com>2022-03-28 12:32:26 +0000
commite89475c0b22108a24faaa1bded7b9beef5f235ce (patch)
tree342d07b5587ec42da9a54391aec26c9e6fda6cf3
parent629097436a2c654402e2a5210a2a0b4ca217b42c (diff)
downloadlibgtop-e89475c0b22108a24faaa1bded7b9beef5f235ce.tar.gz
Exposes the processor model
Accessing processor model becomes easier Signed off: Dr. James Dominic P. Guana <jdpguana@histark.com>
-rw-r--r--include/glibtop/sysinfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/glibtop/sysinfo.h b/include/glibtop/sysinfo.h
index 30598f16..93e9b509 100644
--- a/include/glibtop/sysinfo.h
+++ b/include/glibtop/sysinfo.h
@@ -50,8 +50,8 @@ struct _glibtop_sysinfo
{
guint64 flags;
guint64 ncpu;
- gchar *model;
glibtop_entry cpuinfo [GLIBTOP_NCPU];
+ gchar *model;
};
#define glibtop_get_sysinfo_r glibtop_get_sysinfo_s