jepalza
Loyalty Card Holder
Posts: 11
Registered: 24-3-2016
Location: Spain
Member Is Offline
|
|
DIV3 excesive CPU wasted
Using "old" DIV2 into DOSBOX vs. new DIV3, CPU use is excesive. Look my pictures: 0% vs. 16% in same conditions. CPU FAN of my DELL Laptop goes to
max. power/speed.
|
|
MikeDX
|
|
This is due to div running a continual loop in the IDE abd painting the entire desktop every frame update.
Will be fixed in a future version
Also the compare isnt that fair since div dos runs a lot slower
|
|
MikeDX
|
|
I have now fixed this for the games, reducing the cpu usage by a significant ammount. Next I'll be doing the same thing for the IDE and have it all
play nicely and release cpu ticks where it can.
Instead of a loop to wait until the next frame tick, we now yield for the delay and wake up just before the next frame.
|
|