Friday, 15 June 2012

c++ - change thread priority of dragon age inquisition -


I am trying to play this game better on my dual-core processor, I have used a program to see For the process explorer that this game runs with 15 threads, of which 4 take approximately ~ 98% processing powder at a time. I found a thread that uses 10% -30% of CPU cycles, which does not affect gameplay at all, suspending this thread has boosted the performance of the game dramatically. I am thinking that if I can adjust the priority of the other 3 main threads, then I can improve performance.

So the question is how can I write a program which is the priority of the thread of the thread as the thread ID input?

C ++ has a function called SetThreadPriority (), but it requires a thread handle, but it only seems to be used for the current program thread.

Before reading about the DLL injection, before this game could not launch on a dual core processor at all, and put the solution "Dualcore DLL" to use a program called Extreme Injector Was there a way to see Dell's code, and how can I write to modify my preference?


No comments:

Post a Comment