mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 06:26:49 +00:00
scheduler stuff
- more threads for rsx - better 1600
This commit is contained in:
parent
fcd702c8a6
commit
ab17b49e15
2 changed files with 17 additions and 6 deletions
|
|
@ -142,8 +142,10 @@ namespace spu
|
|||
{
|
||||
if (remaining >= native_jiffy_duration_us)
|
||||
std::this_thread::sleep_for(1ms);
|
||||
else if (remaining > 100)
|
||||
std::this_thread::yield();
|
||||
else
|
||||
busy_wait(remaining);
|
||||
busy_wait();
|
||||
|
||||
const auto now = get_system_time();
|
||||
const auto elapsed = now - start;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue