It is currently October 6th, 2024, 9:29 am
NomFerp Plugin
-
- Developer
- Posts: 268
- Joined: October 13th, 2016, 1:28 am
- Location: Earth
Re: New PerfMon Plugin
And we are live, documentation for the plugin can be found at https://docs.rainmeter.net/manual-beta/plugins/usagemonitor/ and the plugin is included in the latest Rainmeter beta (4.2 Revision 3043)
-
- Rainmeter Sage
- Posts: 8357
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita
Re: New PerfMon Plugin
If you're live, I'm getting alive too - time for a major update of my skin for v4.2. This plugin is worth it, according to the performance note in its documentation. Assuming I still remember how to tell Rainmeter to write my name on the screen and such, of course ...tjhrulz wrote:And we are live, documentation for the plugin can be found at https://docs.rainmeter.net/manual-beta/plugins/usagemonitor/ and the plugin is included in the latest Rainmeter beta (4.2 Revision 3043)
But first, a check on good'ol' Microsoft for Platform Update - things evolved quite a bit since I last edited a Rainmeter skin...
-
- Rainmeter Sage
- Posts: 2742
- Joined: March 23rd, 2015, 5:26 pm
Re: New PerfMon Plugin
Let me know where to send that handle of rum I promised you!tjhrulz wrote:And we are live, documentation for the plugin can be found at https://docs.rainmeter.net/manual-beta/plugins/usagemonitor/ and the plugin is included in the latest Rainmeter beta (4.2 Revision 3043)
-
- Posts: 660
- Joined: June 25th, 2015, 7:02 pm
- Location: The Sky, USA
Re: New PerfMon Plugin
Holy smokes. This plugin... it just, works. It's simply fantastic. It's a no-nonsense, straight-to-the-point plugin that gets the job done. I am thoroughly impressed and very grateful that you took the time to implement it.tjhrulz wrote:And we are live, documentation for the plugin can be found at https://docs.rainmeter.net/manual-beta/plugins/usagemonitor/ and the plugin is included in the latest Rainmeter beta (4.2 Revision 3043)
/end cheesy thankfulness
Upon initial testing, NumOfDecimals does not appear to be working for me. I got around that by using SilverAzide's fixedprecisionformat script (which I was going to do anyway), but this should still be looked at.
-
- Developer
- Posts: 22821
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: New PerfMon Plugin
NumOfDecimals is a String meter option that only operates on the string value of the measure bound to the meter with MeasureName.raiguard wrote:Holy smokes. This plugin... it just, works. It's simply fantastic. It's a no-nonsense, straight-to-the-point plugin that gets the job done. I am thoroughly impressed and very grateful that you took the time to implement it.
/end cheesy thankfulness
Upon initial testing, NumOfDecimals does not appear to be working for me. I got around that by using SilverAzide's fixedprecisionformat script (which I was going to do anyway), but this should still be looked at.
Does this clarify things any for you?
https://docs.rainmeter.net/manual-beta/plugins/usagemonitor/#NumberVsString
-
- Posts: 660
- Joined: June 25th, 2015, 7:02 pm
- Location: The Sky, USA
Re: New PerfMon Plugin
Ah, thanks. I somehow failed to actually read that part of the documentation. My bad.jsmorley wrote:NumOfDecimals is a String meter option that only operates on the string value of the measure bound to the meter with MeasureName.
Does this clarify things any for you?
https://docs.rainmeter.net/manual-beta/plugins/usagemonitor/#NumberVsString
-
- Rainmeter Sage
- Posts: 2742
- Joined: March 23rd, 2015, 5:26 pm
Re: New PerfMon Plugin
Just a note to add, I had to change my parameters to force number values, as jsmorley hinted at... For example:raiguard wrote:Upon initial testing, NumOfDecimals does not appear to be working for me. I got around that by using SilverAzide's fixedprecisionformat script (which I was going to do anyway), but this should still be looked at.
IfTrueAction=[!SetVariable TextDiskWriteC [&LuaScript:FormatNumber([&MeasureDiskWriteC],4,'1k')]]
becomes
IfTrueAction=[!SetVariable TextDiskWriteC [&LuaScript:FormatNumber([&MeasureDiskWriteC:],4,'1k')]]
etc... once I did this, all worked perfectly.
-
- Developer
- Posts: 22821
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: New PerfMon Plugin
I really think a Lua script used as an inline section variable is the right way to go here, especially on a complicated skin, where you might have lots of UsageMonitor measures that are getting values like RAM, Disk IO, VRAM, Network and others that really need to have AutoScale applied. While it can be done natively, I'm not a huge fan of a bunch of extra Calc measures to just cart around extra copies of number values that you can "bind" String meters to.
Create one "host" script measure that has Disabled=1 on it, and use that to host the Lua auto-scale function that you use inline in Text options anywhere and as much as you need.
Create one "host" script measure that has Disabled=1 on it, and use that to host the Lua auto-scale function that you use inline in Text options anywhere and as much as you need.
-
- Developer
- Posts: 22821
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: New PerfMon Plugin
Although we are chewing on a way to allow you to do this in the plugin itself. Stay tuned...
-
- Posts: 660
- Joined: June 25th, 2015, 7:02 pm
- Location: The Sky, USA
Re: New PerfMon Plugin
(SilverAzide)
Yeah, I already did that. It works flawlessly, just like always.
(jsmorley)
Ninja edit: If you do figure out a way for the plugin to do it natively, that'd be great. However, I'll probably just continue to use SilverAzide's script because of the "fixed precision" nature of it, to keep my gadgets looking nice and pretty.
That's already what is going on. I did it slightly different from SilverAzide, though, and simply called the script in the text argument on each meter that needs it. Here's an example (most of the options are contained in the MeterStyles).
In less than an hour I was able to recreate what I had labored over for several hours before, because this plugin is just so fantastically made and easy to use:
Yeah, I already did that. It works flawlessly, just like always.
(jsmorley)
Ninja edit: If you do figure out a way for the plugin to do it natively, that'd be great. However, I'll probably just continue to use SilverAzide's script because of the "fixed precision" nature of it, to keep my gadgets looking nice and pretty.
That's already what is going on. I did it slightly different from SilverAzide, though, and simply called the script in the text argument on each meter that needs it. Here's an example (most of the options are contained in the MeterStyles).
Code: Select all
[TopProcess1LabelString]
Meter=String
MeterStyle=StyleString | StyleStringProcessLabel
MeasureName=MeasureTopProcess1
[TopProcess1RamString]
Meter=String
MeterStyle=StyleString | StyleStringProcessRam
Text=[&MeasureFixedPrecisionFormatScript:FormatNumber([&MeasureTopProcessRam1:],[#fpfProcessRamDepth],'1k')]B
[TopProcess1PercentageString]
Meter=String
MeterStyle=StyleString | StyleStringRightAlign | StyleStringProcessPercentage
Text=[&MeasureFixedPrecisionFormatScript:FormatNumber([&MeasureTopProcess1:],[#fpfProcessCpuDepth],'0')]%
[TopProcess1Bar]
Meter=Bar
MeterStyle=StyleBar
MeasureName=MeasureTopProcess1
BarColor=#colorProcess1#
You do not have the required permissions to view the files attached to this post.