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


i'm trying game run better on dual core processor, used program called process explorer see game runs 15 threads, 4 of take around ~98% of processing power @ 1 time. found 1 thread uses 10%-30% of cpu cycles not impact gameplay @ all, suspending thread gave dramatic boost game performance. i'm thinking if can adjust priority of other 3 main threads, can further improve performance.

so question how can write program changes game's thread priority given thread id's inputs?

in c++ there function called setthreadpriority() requires thread handle, seems used threads of current program only.

i've been reading dll injection, game couldn't launch @ on dual core processors, , solution inject "dualcore.dll" using program called extreme injector, there way see code of dll , how can write own modify thread priorities?


Comments

Popular posts from this blog

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

[C++][SFML 2.2] Strange Performance Issues - Moving Mouse Lowers CPU Usage -

ios - Possible to get UIButton sizeThatFits to work? -