Permalink
Browse files

Reduce CPU load, improve update rate system

  • Loading branch information...
1 parent 6cf06fc commit 3505a4e0abb508a4e92506d38fc53a6ab664961e @tjmarkham committed Aug 8, 2016
@@ -16,6 +16,9 @@
; About:
; Template for CPU performance monitor.
+[Rainmeter]
+DefaultUpdateDivider=-1
+
[Variables]
GraphMeasure1=MeasureCPU
@@ -16,6 +16,9 @@
; About:
; Template for disk performance monitor.
+[Rainmeter]
+DefaultUpdateDivider=-1
+
[Variables]
@Include=#@#diskSelector.ini
GraphMeasure3=MeasureDiskScale
@@ -43,7 +46,6 @@ Formula=((MeasureDisk/100000) < 100 ? (MeasureDisk/100000) : 100)
OnUpdateAction=[!UpdateMeter Graph3][!UpdateMeter GraphBackground3][!UpdateMeter Value3]
MaxValue=100
MinValue=0
-UpdateDivider=-1
; ------------------------------------------------------------------------
@@ -14,7 +14,10 @@
; ------------------------------------------------------------------------
; About:
-; Template for memory performance monitor.
+; Template for memory performance monitor.
+
+[Rainmeter]
+DefaultUpdateDivider=-1
[Variables]
GraphMeasure2=MeasureMemory
@@ -35,28 +38,24 @@ UpdateDivider=10
Measure=Calc
Formula=Round((MeasureMemory/#GBconversionFactor#),1)
OnChangeAction=[!UpdateMeasure MeasureMemoryPercent]
-UpdateDivider=-1
[MeasureTotalMemory]
; Returns total amount of system memory in bytes.
Measure=PhysicalMemory
Total=1
OnChangeAction=[!UpdateMeasure MeasureTotalMemoryGB]
-UpdateDivider=-1
[MeasureTotalMemoryGB]
; Returns total amount of system memory in GB.
Measure=Calc
Formula=Round((MeasureTotalMemory/#GBconversionFactor#),1)
OnChangeAction=[!UpdateMeter Value2]
-UpdateDivider=-1
[MeasureMemoryPercent]
; Returns percent of system memory in use.
Measure=Calc
Formula=Round((MeasureMemoryGB/MeasureTotalMemoryGB)*100)
OnUpdateAction=[!UpdateMeter Value2]
-UpdateDivider=-1
; ------------------------------------------------------------------------
@@ -16,6 +16,9 @@
; About:
; Template for network performance monitor.
+[Rainmeter]
+DefaultUpdateDivider=-1
+
[Variables]
GraphMeasure4=MeasureNetworkReceive
NetworkSendColor=#NetworkOrangeLight#
@@ -39,21 +42,18 @@ UpdateDivider=10
Measure=Calc
Formula=((MeasureNetworkReceive*8)/#KBconversionFactor#)
OnChangeAction=[!UpdateMeter Value4]
-UpdateDivider=-1
[MeasureNetworkReceiveMb]
; Returns receive activity on the current network in Megabits.
Measure=Calc
Formula=((MeasureNetworkReceive*8)/#MBconversionFactor#)
OnChangeAction=[!UpdateMeter Value4]
-UpdateDivider=-1
[MeasureNetworkReceiveGb]
; Returns receive activity on the current network in Megabits.
Measure=Calc
Formula=((MeasureNetworkReceive*8)/#GBconversionFactor#)
OnChangeAction=[!UpdateMeter Value4]
-UpdateDivider=-1
[MeasureNetworkSend]
; Returns send activity on the current network in bytes.
@@ -67,14 +67,12 @@ UpdateDivider=10
Measure=Calc
Formula=((MeasureNetworkSend*8)/#KBconversionFactor#)
OnChangeAction=[!UpdateMeter Value4]
-UpdateDivider=-1
[MeasureNetworkSendMb]
; Returns send activity on the current network in Megabits.
Measure=Calc
Formula=((MeasureNetworkSend*8)/#MBconversionFactor#)
OnChangeAction=[!UpdateMeter Value4]
-UpdateDivider=-1
[MeasureNetworkSendGb]
; Returns send activity on the current network in Gigabits.
@@ -88,7 +86,6 @@ IfCondition2=(MeasureNetworkSendGb >= 1) || (MeasureNetworkReceiveGb >= 1)
IfTrueAction2=[!SetVariable NetUnits "Gbps"][!SetOption Value4 MeasureName MeasureNetworkReceiveGb][!SetOption Value4 MeasureName2 MeasureNetworkSendGb]
IfCondition3=(MeasureNetworkSendGb < 1) && (MeasureNetworkReceiveGb < 1) && (MeasureNetworkSendMb < 1) && (MeasureNetworkReceiveMb < 1)
IfTrueAction3=[!SetVariable NetUnits "Kbps"][!SetOption Value4 MeasureName MeasureNetworkReceiveKb][!SetOption Value4 MeasureName2 MeasureNetworkSendKb]
-UpdateDivider=-1
; ------------------------------------------------------------------------
@@ -17,6 +17,9 @@
; Template for meters common to performance monitor widgets with
; multiple graphs, labels, and measure values (up to four sets).
+[Rainmeter]
+DefaultUpdateDivider=-1
+
[Variables]
@Include1=#@#variables.ini
@Include2=#@#styles.ini
@@ -56,7 +59,6 @@ GraphLabel4="Network"
[EmptyMeasure]
; Placeholder measure.
Measure=Calc
-UpdateDivider=-1
; ------------------------------------------------------------------------
@@ -76,7 +78,6 @@ Group=Monitor1
LineCount=1
LineColor=#GraphColor1#
LineWidth=1
-UpdateDivider=-1
Hidden=1
[GraphBackground1]
@@ -90,7 +91,6 @@ H=([Graph1:H]+1)
Group=Monitor1
AntiAlias=1
PrimaryColor=#GraphColor1#,30
-UpdateDivider=-1
Hidden=1
[Top1]
@@ -102,7 +102,6 @@ W=#GraphWidth#
H=1
SolidColor=#GraphColor1#
Group=Monitor1
-UpdateDivider=-1
Hidden=1
[Left1]
@@ -114,7 +113,6 @@ W=1
H=#GraphHeight#
SolidColor=#GraphColor1#
Group=Monitor1
-UpdateDivider=-1
Hidden=1
[Bottom1]
@@ -126,7 +124,6 @@ W=[Top1:W]
H=1
SolidColor=#GraphColor1#
Group=Monitor1
-UpdateDivider=-1
Hidden=1
[Right1]
@@ -138,7 +135,6 @@ W=1
H=[Left1:H]
SolidColor=#GraphColor1#
Group=Monitor1
-UpdateDivider=-1
Hidden=1
[Label1]
@@ -149,7 +145,6 @@ X=9r
Y=-4r
Group=Monitor1
Text=#GraphLabel1#
-UpdateDivider=-1
Hidden=1
[Value1]
@@ -162,7 +157,6 @@ Y=-2R
Group=Monitor1
Text="%1%"
FontSize=9
-UpdateDivider=-1
Hidden=1
@@ -183,7 +177,6 @@ Group=Monitor2
LineCount=1
LineColor=#GraphColor2#
LineWidth=1
-UpdateDivider=-1
Hidden=1
[GraphBackground2]
@@ -197,7 +190,6 @@ H=([Graph2:H]+1)
AntiAlias=1
Group=Monitor2
PrimaryColor=#GraphColor2#,30
-UpdateDivider=-1
Hidden=1
[Top2]
@@ -209,7 +201,6 @@ W=#GraphWidth#
H=1
SolidColor=#GraphColor2#
Group=Monitor2
-UpdateDivider=-1
Hidden=1
[Left2]
@@ -221,7 +212,6 @@ W=1
H=#GraphHeight#
SolidColor=#GraphColor2#
Group=Monitor2
-UpdateDivider=-1
Hidden=1
[Bottom2]
@@ -233,7 +223,6 @@ W=[Top2:W]
H=1
SolidColor=#GraphColor2#
Group=Monitor2
-UpdateDivider=-1
Hidden=1
[Right2]
@@ -245,7 +234,6 @@ W=1
H=[Left2:H]
SolidColor=#GraphColor2#
Group=Monitor2
-UpdateDivider=-1
Hidden=1
[Label2]
@@ -256,7 +244,6 @@ X=9r
Y=-4r
Group=Monitor2
Text=#GraphLabel2#
-UpdateDivider=-1
Hidden=1
[Value2]
@@ -269,7 +256,6 @@ Y=-2R
Group=Monitor2
Text="%1%"
FontSize=9
-UpdateDivider=-1
Hidden=1
@@ -290,7 +276,6 @@ Group=Monitor3
LineCount=1
LineColor=#GraphColor3#
LineWidth=1
-UpdateDivider=-1
Hidden=1
[GraphBackground3]
@@ -304,7 +289,6 @@ H=([Graph3:H]+1)
AntiAlias=1
Group=Monitor3
PrimaryColor=#GraphColor3#,30
-UpdateDivider=-1
Hidden=1
[Top3]
@@ -316,7 +300,6 @@ W=#GraphWidth#
H=1
SolidColor=#GraphColor3#
Group=Monitor3
-UpdateDivider=-1
Hidden=1
[Left3]
@@ -328,7 +311,6 @@ W=1
H=#GraphHeight#
SolidColor=#GraphColor3#
Group=Monitor3
-UpdateDivider=-1
Hidden=1
[Bottom3]
@@ -340,7 +322,6 @@ W=[Top3:W]
H=1
SolidColor=#GraphColor3#
Group=Monitor3
-UpdateDivider=-1
Hidden=1
[Right3]
@@ -352,7 +333,6 @@ W=1
H=[Left3:H]
SolidColor=#GraphColor3#
Group=Monitor3
-UpdateDivider=-1
Hidden=1
[Label3]
@@ -363,7 +343,6 @@ X=9r
Y=-4r
Group=Monitor3
Text=#GraphLabel3#
-UpdateDivider=-1
Hidden=1
[Value3]
@@ -376,7 +355,6 @@ Y=-2R
Group=Monitor3
Text="%1%"
FontSize=9
-UpdateDivider=-1
Hidden=1
@@ -397,7 +375,6 @@ Group=Monitor4
LineCount=1
LineColor=#GraphColor4#
LineWidth=1
-UpdateDivider=-1
Hidden=1
[GraphBackground4]
@@ -411,7 +388,6 @@ H=([Graph4:H]+1)
AntiAlias=1
Group=Monitor4
PrimaryColor=#GraphColor4#,30
-UpdateDivider=-1
Hidden=1
[Top4]
@@ -423,7 +399,6 @@ W=#GraphWidth#
H=1
SolidColor=#GraphColor4#
Group=Monitor4
-UpdateDivider=-1
Hidden=1
[Left4]
@@ -435,7 +410,6 @@ W=1
H=#GraphHeight#
SolidColor=#GraphColor4#
Group=Monitor4
-UpdateDivider=-1
Hidden=1
[Bottom4]
@@ -447,7 +421,6 @@ W=[Top4:W]
H=1
SolidColor=#GraphColor4#
Group=Monitor4
-UpdateDivider=-1
Hidden=1
[Right4]
@@ -459,7 +432,6 @@ W=1
H=[Left4:H]
SolidColor=#GraphColor4#
Group=Monitor4
-UpdateDivider=-1
Hidden=1
[Label4]
@@ -470,7 +442,6 @@ X=9r
Y=-4r
Group=Monitor4
Text=#GraphLabel4#
-UpdateDivider=-1
Hidden=1
[Value4]
@@ -483,5 +454,4 @@ Y=-2R
Group=Monitor4
Text="%1%"
FontSize=9
-UpdateDivider=-1
Hidden=1
Oops, something went wrong.

0 comments on commit 3505a4e

Please sign in to comment.