diff options
author | Ondrej Čerman | 2019-10-12 19:24:19 +0200 |
---|---|---|
committer | Ondrej Čerman | 2019-10-12 19:44:54 +0200 |
commit | e1beb5791ef4608d20ad8992578a75ecae401eeb (patch) | |
tree | ce4c2be4efd1a6372a45838e5f6dedef4e447beb /src/include | |
parent | ec849b74627cd6ad890714a0c3215fcf3c9c0dad (diff) |
FIX: Core ID to cpu device id mapping.
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/sysfs.h | 1 | ||||
-rw-r--r-- | src/include/zenmonitor.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/include/sysfs.h b/src/include/sysfs.h new file mode 100644 index 0000000..ec838bf --- /dev/null +++ b/src/include/sysfs.h @@ -0,0 +1 @@ +gshort* get_cpu_dev_ids(); diff --git a/src/include/zenmonitor.h b/src/include/zenmonitor.h index c0b1f73..21cc9fc 100644 --- a/src/include/zenmonitor.h +++ b/src/include/zenmonitor.h @@ -24,3 +24,4 @@ SensorInit* sensor_init_new(void); void sensor_init_free(SensorInit *s); gboolean check_zen(); gchar *cpu_model(); +guint get_core_count(); |