It is currently April 28th, 2024, 12:51 am

CPU cores

General topics related to Rainmeter.
Sindread
Posts: 2
Joined: May 9th, 2011, 8:59 pm

CPU cores

Post by Sindread »

how can I add more CPU cores in System watch ?
User avatar
Seahorse
Posts: 1175
Joined: June 9th, 2010, 5:56 pm
Location: Locks heath, UK

Re: CPU cores

Post by Seahorse »

You simply add more measures...

Code: Select all

[MeasureCPUCore1]
Measure=CPU
Processor=1

[MeasureCPUCore2]
Measure=CPU
Processor=2
"Regrettably your planet is one of those scheduled for demolition"
Mike

My Skins at DeviantArt

Sindread
Posts: 2
Joined: May 9th, 2011, 8:59 pm

Re: CPU cores

Post by Sindread »

Thank you for your help, I had to play a bit with c/p of the [MeasureCPUx] [CPUxText] [CPUxBar] [CPUx], but everything ended up working just fine, although everything works I was just wondering what should be stated in X and Y section of [CPU3Text] (for example), since I've only copy/pasted the variables from one of the cores and they are different in [CPU1Text] and [CPU2Text]?
User avatar
Seahorse
Posts: 1175
Joined: June 9th, 2010, 5:56 pm
Location: Locks heath, UK

Re: CPU cores

Post by Seahorse »

The X & Y are the coordinates of the meter to be displayed. I have 4-cores on mine:
[MeterCore1Temp]
Meter=STRING
MeasureName=MeasureCore1Temp
X=5
Y=105

FontColor=#Color1#
Text="Core 1 Temp: %1°C"

[MeterCore2Temp]
Meter=STRING
MeasureName=MeasureCore2Temp
X=5
Y=125
W=200
H=20
FontColor=#Color1#
Text="Core 2 Temp: %1°C"

[MeterCore3Temp]
Meter=STRING
MeasureName=MeasureCore3Temp
X=5
Y=145
W=200
H=20
FontColor=#Color1#
Text="Core 3 Temp: %1°C"

[MeterCore4Temp]
Meter=STRING
MeasureName=MeasureCore4Temp
X=5
Y=165
W=200
H=20
FontColor=#Color1#
Text="Core 4 Temp: %1°C"
as you can see they all share the same x= location, 5 pixels from the left, however each one is 20 pixels lower than the last (this can also be achieved using 20r - however some other elements in this didn't like that approach).

Hopefully that should help, however if we can't look at your code...;)
"Regrettably your planet is one of those scheduled for demolition"
Mike

My Skins at DeviantArt