aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorOndrej Čerman2019-10-12 19:24:19 +0200
committerOndrej Čerman2019-10-12 19:44:54 +0200
commite1beb5791ef4608d20ad8992578a75ecae401eeb (patch)
treece4c2be4efd1a6372a45838e5f6dedef4e447beb /src/include
parentec849b74627cd6ad890714a0c3215fcf3c9c0dad (diff)
FIX: Core ID to cpu device id mapping.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/sysfs.h1
-rw-r--r--src/include/zenmonitor.h1
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();