SPU Add ability to specify percentage of busy waiting

This commit is contained in:
Eladash 2022-08-20 10:29:02 +03:00 committed by Ivan
parent ddba30988b
commit bf63a18c5f
3 changed files with 27 additions and 7 deletions

View file

@ -839,7 +839,8 @@ public:
u64 last_fail = 0;
u64 last_succ = 0;
u64 last_gtsc = 0;
u32 last_getllar = umax; // LS address of last GETLLAR (if matches current GETLLAR we can let the thread rest)
u32 last_getllar = umax; // LS address of last GETLLAR (if matches current GETLLAR we can let the thread rest)
u32 getllar_busy_waiting_switch = umax; // umax means the test needs evaluation, otherwise it's a boolean
std::vector<mfc_cmd_dump> mfc_history;
u64 mfc_dump_idx = 0;