Commit 65a5b46a authored by David Edmundson's avatar David Edmundson

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

Subscribers: plasma-devel

Tags: #plasma

Differential Revision:
parent 2b61540e
......@@ -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 )
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment