scheduler stuff

- more threads for rsx
- better 1600
This commit is contained in:
kd-11 2018-01-19 14:32:15 +03:00
parent fcd702c8a6
commit ab17b49e15
2 changed files with 17 additions and 6 deletions

View file

@ -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;