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 »

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 »

Hello Team,

Can you please help on this request.

Regards,

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

Re: Calculating In and Out percentage for multi interface.

Post by phil »

Sorry, no ideas what your request is?
Makes no sense to me- please explain?
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, AMD Ryzen 5900x, MSI x570 Tomahawk, 32GB DDR4,
nVidia RTX 2070s, Evo 970 1Tb 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 »

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: 7611
Joined: Sun Apr 06, 2003 11:12 pm

Re: Calculating In and Out percentage for multi interface.

Post by phil »

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/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, AMD Ryzen 5900x, MSI x570 Tomahawk, 32GB DDR4,
nVidia RTX 2070s, Evo 970 1Tb 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 »

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: 7611
Joined: Sun Apr 06, 2003 11:12 pm

Re: Calculating In and Out percentage for multi interface.

Post by phil »

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/G604/M720/MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, AMD Ryzen 5900x, MSI x570 Tomahawk, 32GB DDR4,
nVidia RTX 2070s, Evo 970 1Tb 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 »

Hello Phil,

Thank you :)

Regards,

Chandrashekar B
Post Reply