mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-01 03:32:07 +00:00
PPU/LLVM: Increase recompiler thread responsiveness.
This commit is contained in:
parent
9d18bba1df
commit
359258c3d3
@ -351,7 +351,7 @@ void RecompilationEngine::Task() {
|
||||
// Wait a few ms for something to happen
|
||||
auto idling_start = std::chrono::high_resolution_clock::now();
|
||||
std::unique_lock<std::mutex> lock(mutex);
|
||||
cv.wait_for(lock, std::chrono::milliseconds(250));
|
||||
cv.wait_for(lock, std::chrono::milliseconds(10));
|
||||
auto idling_end = std::chrono::high_resolution_clock::now();
|
||||
idling_time += std::chrono::duration_cast<std::chrono::nanoseconds>(idling_end - idling_start);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user