diff options
author | Zach Hilman <zachhilman@gmail.com> | 2018-12-03 23:29:21 +0100 |
---|---|---|
committer | Zach Hilman <zachhilman@gmail.com> | 2018-12-03 23:29:30 +0100 |
commit | b5af41a07bebc0a378428e7d7ddc68c9c750d2d1 (patch) | |
tree | 97d4e53060fda78d6445ddd99ad24b36b38cec14 /src/core/hle/kernel/scheduler.h | |
parent | svc: Avoid performance-degrading unnecessary reschedule (diff) | |
download | yuzu-b5af41a07bebc0a378428e7d7ddc68c9c750d2d1.tar yuzu-b5af41a07bebc0a378428e7d7ddc68c9c750d2d1.tar.gz yuzu-b5af41a07bebc0a378428e7d7ddc68c9c750d2d1.tar.bz2 yuzu-b5af41a07bebc0a378428e7d7ddc68c9c750d2d1.tar.lz yuzu-b5af41a07bebc0a378428e7d7ddc68c9c750d2d1.tar.xz yuzu-b5af41a07bebc0a378428e7d7ddc68c9c750d2d1.tar.zst yuzu-b5af41a07bebc0a378428e7d7ddc68c9c750d2d1.zip |
Diffstat (limited to 'src/core/hle/kernel/scheduler.h')
-rw-r--r-- | src/core/hle/kernel/scheduler.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/core/hle/kernel/scheduler.h b/src/core/hle/kernel/scheduler.h index 71b32589a..97ced4dfc 100644 --- a/src/core/hle/kernel/scheduler.h +++ b/src/core/hle/kernel/scheduler.h @@ -48,14 +48,11 @@ public: /// Unschedules a thread that was already scheduled void UnscheduleThread(Thread* thread, u32 priority); - /// Moves a thread to the back of the current priority queue - void MoveThreadToBackOfPriorityQueue(Thread* thread, u32 priority); - /// Sets the priority of a thread in the scheduler void SetThreadPriority(Thread* thread, u32 priority); /// Gets the next suggested thread for load balancing - Thread* GetNextSuggestedThread(u32 core) const; + Thread* GetNextSuggestedThread(u32 core, u32 minimum_priority) const; /** * YieldWithoutLoadBalancing -- analogous to normal yield on a system |