summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/scheduler.h
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2018-12-03 23:29:21 +0100
committerZach Hilman <zachhilman@gmail.com>2018-12-03 23:29:30 +0100
commitb5af41a07bebc0a378428e7d7ddc68c9c750d2d1 (patch)
tree97d4e53060fda78d6445ddd99ad24b36b38cec14 /src/core/hle/kernel/scheduler.h
parentsvc: Avoid performance-degrading unnecessary reschedule (diff)
downloadyuzu-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 '')
-rw-r--r--src/core/hle/kernel/scheduler.h5
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