Commit Graph

13 Commits

Author SHA1 Message Date
cyclane cbb9d52455 Recover removed comment 2024-10-17 20:09:43 +01:00
cyclane 044c383a0f fix mlfqs tests, complete BSD scheduling 2024-10-17 18:31:09 +01:00
cyclane c5e41db9b0 Implement BSD calculations
- load_avg, recent_cpu, priority calculations
- reduce frac bits to 14
- ignore thread_set_priority when BSD enabled
2024-10-17 18:31:09 +01:00
cyclane a7a6d0b9d4 Fix fixed-point returns 2024-10-17 18:31:09 +01:00
EDiasAlberto d5f913de2b implement recent_cpu 2024-10-17 18:31:09 +01:00
cyclane 630fbaa3ab implement thread_get_nice & thread_get_recent_cpu 2024-10-17 18:31:09 +01:00
cyclane 82cc108c38 inline funcs instead of macros for fixed-point 2024-10-17 18:31:09 +01:00
EDiasAlberto 337f8828d9 implement thread_get_nice, thread_set_nice and skeleton for calculate_priority 2024-10-17 18:31:09 +01:00
EDiasAlberto 112432dde0 define basic fixed-point macros 2024-10-17 18:31:09 +01:00
EDiasAlberto f969b02630 define fixed point arithmetic constants
gitignore clion files
2024-10-17 18:31:09 +01:00
cyclane f5d130f832 Implement non-busy timer_sleep (task 0) 2024-10-14 19:21:53 +01:00
Mark Wheelhouse 1a669267d0 fixed interrupt disabling bug in threads_ready function 2024-10-02 15:04:13 +01:00
LabTS 8724a2641e provided code 2024-10-01 23:37:39 +01:00