8 Commits
Author SHA1 Message Date
cyclane 1e09712cc2 fix mlfqs tests, complete BSD scheduling 2024-10-17 02:38:57 +01:00
cyclane c767cfe159 Ignore thread_set_priority when BSD enabled 2024-10-16 22:58:03 +01:00
cyclane eacd93b32d Optimise load_avg and recent_cpu updates
- only run when BSD scheduler is enabled
2024-10-16 22:56:47 +01:00
cyclane de8f303fa2 Implement BSD calculations
- load_avg, recent_cpu, priority calculations
- reduce frac bits to 14
2024-10-16 22:50:46 +01:00
cyclane 5967257bb0 Fix fixed-point returns 2024-10-16 19:48:08 +01:00
cyclane 63742c5717 implement thread_get_nice & thread_get_recent_cpu 2024-10-15 19:56:46 +01:00
cyclane 27d564ab49 inline funcs instead of macros for fixed-point 2024-10-15 19:45:11 +01:00
cyclane f5d130f832 Implement non-busy timer_sleep (task 0) 2024-10-14 19:21:53 +01:00