Calculating In and Out percentage for multi interface.

My x64 port of InpOut32
Post Reply
chandrashekarb
New User
Posts: 5
Joined: Thu Apr 11, 2019 12:58 pm

Calculating In and Out percentage for multi interface.

Post by chandrashekarb » Thu Apr 11, 2019 1:03 pm

Hello Team,

am trying to calculate In and Out percentage for multi interface.(20 Mbps each).

Device: 1-1, In% - 22.74 & Out% - 22.61

Device: 1-2, In% - 66.11 and Out% - 36.35


Expected result based on 2 devices - In% - 37.79 and Out% - 10.41

Regards,

Chandrashekar B

chandrashekarb
New User
Posts: 5
Joined: Thu Apr 11, 2019 12:58 pm

Re: Calculating In and Out percentage for multi interface.

Post by chandrashekarb » Fri Apr 12, 2019 5:16 am

Hello Team,

Can you please help on this request.

Regards,

Chandrashekar B

User avatar
phil
Site Admin
Posts: 5912
Joined: Sun Apr 06, 2003 11:12 pm

Re: Calculating In and Out percentage for multi interface.

Post by phil » Fri Apr 12, 2019 7:37 am

Sorry, no ideas what your request is?
Makes no sense to me- please explain?
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9, Logitech MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, Intel i5-9600k, Asus Z390-ROG, 16GB DDR4,
nVidia GeForce GTX 970, Evo 970 500Gb NVME, 2x2TB WD Black (RAID1)

chandrashekarb
New User
Posts: 5
Joined: Thu Apr 11, 2019 12:58 pm

Re: Calculating In and Out percentage for multi interface.

Post by chandrashekarb » Fri Apr 12, 2019 10:18 am

Hello Phil,

Thanks for your reply. I am trying to calculate utilization percentage(In and Out).

For Ex: Here we have 2 devices 1-1 and 1-2.
1. Device 1-1 having Utilization In% = 22.74 and Out% = 22.61
2. Device 1-2 having Utilization In% = 66.11 and Out% = 36.35.

Now I need overall Percentage for In and Out percentage that is Device 1-1 and Device 1-2 and get output as
Expected result based on 2 devices - In% - 37.79 and Out% - 10.41

I tried viewtopic.php?f=7&t=4079 but did not get same result but its very near.


Hope this clarifies.

Regards,

Chandrashekar B

User avatar
phil
Site Admin
Posts: 5912
Joined: Sun Apr 06, 2003 11:12 pm

Re: Calculating In and Out percentage for multi interface.

Post by phil » Sun Apr 14, 2019 12:14 pm

I still don't get it - utilization of what?
And when you say in and out, are you talking about calls to Out() and Inp()?
And what are these interfaces you are talking about?

Sorry if I'm just being dumb, but I'm really not understanding what your talking about (and I doubt there is anyone else here that can help - its quite in this forum these days :)).
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9, Logitech MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, Intel i5-9600k, Asus Z390-ROG, 16GB DDR4,
nVidia GeForce GTX 970, Evo 970 500Gb NVME, 2x2TB WD Black (RAID1)

chandrashekarb
New User
Posts: 5
Joined: Thu Apr 11, 2019 12:58 pm

Re: Calculating In and Out percentage for multi interface.

Post by chandrashekarb » Mon Apr 15, 2019 5:14 am

Hello Phil,

Thanks for your reply. this values are Transmit and Receive(its in percentage) for devices.

Regards,

Chandrashekar B

User avatar
phil
Site Admin
Posts: 5912
Joined: Sun Apr 06, 2003 11:12 pm

Re: Calculating In and Out percentage for multi interface.

Post by phil » Mon Apr 15, 2019 8:05 am

Sorry, your still not giving enough detail.
What EXACTLY has it got to so with InpOut32?
What are you actually using InpOut32 to do?
What ports are you reading/writing?

I really don't see a connection nor how I can possibly help in any way?!
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9, Logitech MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, Intel i5-9600k, Asus Z390-ROG, 16GB DDR4,
nVidia GeForce GTX 970, Evo 970 500Gb NVME, 2x2TB WD Black (RAID1)

chandrashekarb
New User
Posts: 5
Joined: Thu Apr 11, 2019 12:58 pm

Re: Calculating In and Out percentage for multi interface.

Post by chandrashekarb » Mon Apr 15, 2019 11:54 am

Hello Phil,

Thank you :)

Regards,

Chandrashekar B

Post Reply