So wait are you telling me this code does not set the thread affinity?
Code:
Common::SetCurrentThreadAffinity(1); // Force to first core
#if defined(_M_X64)
EMM::InstallExceptionHandler(); // Let's run under memory watch
g_video_backend->Video_Prepare();
Common::SetCurrentThreadName("FIFO-GPU thread");
}
Common::SetCurrentThreadAffinity(1); // Force to first core
g_bStarted = true;
Common::SetCurrentThreadName("Emuthread - Starting");
{
if (cpu_info.num_cores > 3) // Force to third, non-HT core
Common::SetCurrentThreadAffinity(4);
else // Force to second core
Common::SetCurrentThreadAffinity(2);
}
"Normally if given a choice between doing something and nothing, I’d choose to do nothing. But I would do something if it helps someone else do nothing. I’d work all night if it meant nothing got done."
-Ron Swanson
"I shall be a good politician, even if it kills me. Or if it kills anyone else for that matter. "
-Mark Antony
-Ron Swanson
"I shall be a good politician, even if it kills me. Or if it kills anyone else for that matter. "
-Mark Antony