mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-14 23:24:26 -04:00
kern: update scheduler for new switch count tracking logic
This commit is contained in:
parent
8176f085f1
commit
3a5f406c5f
6 changed files with 39 additions and 18 deletions
|
@ -211,9 +211,10 @@ namespace ams::kern {
|
|||
|
||||
/* Set thread fields. */
|
||||
for (size_t i = 0; i < cpu::NumCores; i++) {
|
||||
m_running_threads[i] = nullptr;
|
||||
m_pinned_threads[i] = nullptr;
|
||||
m_running_thread_idle_counts[i] = 0;
|
||||
m_running_threads[i] = nullptr;
|
||||
m_pinned_threads[i] = nullptr;
|
||||
m_running_thread_idle_counts[i] = 0;
|
||||
m_running_thread_switch_counts[i] = 0;
|
||||
}
|
||||
|
||||
/* Set max memory based on address space type. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue