- Code: Select all
pct = Math.Round(pct / System.Environment.ProcessorCount, 2)
my console app is now only showing 30% of whats in task manager... 5% vs 15%. The magic number for me is 5.5 (8 core, 16 logical processors)
I can make it occur by simply moving the mouse around the inventory maintenance form - doing so and your app logs 29.x% CPU usage. In fact if any form is open, just moving the mouse will see that figure reported if you move the mouse around constantly for the 3 second sample window.
ok, interesting, is that because of the mouse events?
When I mouse rub inventory form, it is about 13% cpu from task manager.
However, I wasn't doing that during my testing yesterday. I simply had Jiwa sit on my 2nd screen (not minimized) and doing other things.
Edit: end user said he tested with no form, and it still does it.