StarCraft II, low CPU/GPU usage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I'm trying to properly understand why SC2 doesn't use CPU/GPU at 100%, sleeps all the time.

I've managed to instrument SleepEx function, and I found out that the game spawns a lot of threads which are put to sleep by themselves 95% of the time if not more.
This should definitely be on of the (if not main) reason why SC2 doesn't use the CPU/GPU  at 100% and both are set to lowest consumption/run level.

I wanted to know even what rendering threads were doing. Are they put to sleep as well? If yes, when?
To do so I have to identify the thread id (pthread_self) of a thread. Which part of wine code should I instrument to get such information?
Which function(s) do get called for sure by D3D rendering threads?
Which part of code in wined3d.dll.so?

Thanks again,
Cheers,
Ema! :)







[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux