mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Add sleep_random function for debugging purposes
This commit is contained in:
1 parent
e1e352c5b5
commit
80a11e8cbe
2 files changed
+12
No files matched your search
@@ -25,6 +25,9 @@ void sleep_ms(int ms, const char *reason);
|
||||
// Precise sleep. Can consume a little bit of CPU on Windows at least.
|
||||
void sleep_precise(double seconds);
|
||||
|
||||
// Random sleep, used for debugging.
|
||||
void sleep_random(double minSeconds, double maxSeconds);
|
||||
|
||||
// Yield. Signals that this thread is busy-waiting but wants to allow other hyperthreads to run.
|
||||
void yield();
|
||||
|
||||
|
||||
Reference in new issue
Block a user