Search

Main Menu

Login
Username:

Password:

Remember me?
Anonymous

Lost Password?

Register now!

Samurize Forums -> Enable Meter Math for Text Meter


  Reply to this topicStart new topic

> Enable Meter Math for Text Meter
RobertMB
Posted: Aug 22 2007, 02:19 AM
Quote Post
Samurai
***



Group: Member
Joined: Jul 12 2007
Posts: 195
Offline



Hi there,
I've learned to create Things as Ressource-Friendly as possible, therefore I allways have an akward Feeling when I set several Perfmons to show the same Thing but in other Display Modes (like Download kb/s in Text and Progressbar).

I'd like to have the ability to set a Textmeter through MeterMaths as a Value-Clone, but without creating a new Access to the Perfmon / WMI / whatever.

I am requesting this simply because I don't know if Samurize has an intern Database that keeps Track of requested Perfs and supplies all Meters the same Perf from only one Query instead of, let's say, five.
Even when it's that way, it would help especialy for Perfs and WMIs because you don't need to work yourself through the whole WMI-Stack of Options, you simply copy an existing Meter down to an Textmeter and Format it like you want.


--------------------
User posted image

USER MIGRATED TO SAMURIZE.US
PM
Top
AdamC
Posted: Aug 22 2007, 03:34 AM
Quote Post
The Programming Frog
*****



Group: Admin
Joined: Sep 26 2003
Posts: 2,496
Offline



Meter Maths was disabled for Text Meters because there is no code behind them to actually do anything. I'll investigate whether its possible to add something like this.
PMICQAOLYahooMSN
Top
Step666
Posted: Aug 27 2007, 09:17 PM
Quote Post
Shadow
*



Group: Member
Joined: Aug 25 2007
Posts: 12
Offline



I hadn't really thought about it until now but would linking the meters cause less load than letting them run independently?


--------------------
-Step666
PM
Top
AdamC
Posted: Aug 28 2007, 02:26 AM
Quote Post
The Programming Frog
*****



Group: Admin
Joined: Sep 26 2003
Posts: 2,496
Offline



We've never really done any performance stuff on it. So it may or may not be quicker. There is probably less IO requests etc (dependent on the request), not sure where windows calls are quicker than processing stuff in memory. But it probably takes more CPU to process the meter maths.
PMICQAOLYahooMSN
Top
RobertMB
Posted: Aug 29 2007, 12:51 PM
Quote Post
Samurai
***



Group: Member
Joined: Jul 12 2007
Posts: 195
Offline



How are the Meters Designed anyway?
Is there a Query independently for each Meter, or is the Value of, let's say, a Perfmon for Upload Bandwith querried only once and then stored in case another Meter querries the same thing?

I can't imagine a System where each Meter is querried on it's own, though.
It would use way more CPU Time than the roughly 1.56% I get displayed every other Second...


--------------------
User posted image

USER MIGRATED TO SAMURIZE.US
PM
Top
AdamC
Posted: Aug 29 2007, 02:28 PM
Quote Post
The Programming Frog
*****



Group: Admin
Joined: Sep 26 2003
Posts: 2,496
Offline



Sadly every meter has three components, source/display/input. I would like each meter to only have display and input but moving all the source stuff out at present is such a large job that I cannot commit the time to doing it. > 3 Months probably worth of effort for not that much gain really.
PMICQAOLYahooMSN
Top
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:

Topic Options Reply to this topicStart new topic

 

Come On, Get Samurized!