Commit 4e656a45 authored by David Edmundson's avatar David Edmundson
Browse files

Unify ksysguard cpu clock speed names

For every other sensor the human readable name of cpu0 is "CPU 1" and so
on, except clock speed

Before (in ksysguardd -i)
ksysguardd> cpu/cpu0/sys?
CPU 1 System Load       0       100     %

ksysguardd> cpu/cpu0/clock?
CPU0 Clock Frequency    0       0       MHz

With this patch they're uniform

Doesn't make a big difference as SensorManager goes through a big
translation and disregards this anyway.

Test Plan: #plasma

Reviewers: ahiemstra

Reviewed By: ahiemstra

Subscribers: ahiemstra, plasma-devel

Tags: #plasma

Differential Revision:
parent 313b317b
......@@ -252,7 +252,7 @@ void printCPUxClockInfo( const char* cmd )
int id;
sscanf( cmd + 7, "%d", &id );
output( "CPU%d Clock Frequency\t0\t0\tMHz\n", id );
output( "CPU %d Clock Frequency\t0\t0\tMHz\n", id+1 );
void printCPUClockInfo( const char* cmd )
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment