aboutsummaryrefslogtreecommitdiff
path: root/src/ss/msr.c
diff options
context:
space:
mode:
authorOndrej Čerman2020-01-23 22:47:52 +0100
committerOndrej Čerman2020-01-23 22:47:52 +0100
commita82a28c135afb11470a383ba55278dc48e37ed4e (patch)
tree9ec241fe144b3060d897d8db0933d32a5cc0d823 /src/ss/msr.c
parentf04d8e4dc6404151882c57ad4721dad9db2768cb (diff)
Core index is now displayed by default, added command line argument "--core_id" to display core_id insteadv1.3
Fixed dates in LICENSE file Version 1.3
Diffstat (limited to 'src/ss/msr.c')
-rw-r--r--src/ss/msr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ss/msr.c b/src/ss/msr.c
index 17c9530..f64c534 100644
--- a/src/ss/msr.c
+++ b/src/ss/msr.c
@@ -166,7 +166,7 @@ GSList* msr_get_sensors() {
for (i = 0; i < cores; i++) {
data = sensor_init_new();
- data->label = g_strdup_printf("Core %d Power", cpu_dev_ids[i].coreid);
+ data->label = g_strdup_printf("Core %d Power", display_coreid ? cpu_dev_ids[i].coreid: i);
data->value = &(core_power[i]);
data->min = &(core_power_min[i]);
data->max = &(core_power_max[i]);