Dias Alberto, Ethan
|
ed11c61f87
|
Merge branch 'master' into 'BSD-merged', fixing merge conflicts
# Conflicts:
# src/threads/thread.c
|
2024-10-23 16:30:24 +00:00 |
|
|
|
cbb9d52455
|
Recover removed comment
|
2024-10-17 20:09:43 +01:00 |
|
|
|
044c383a0f
|
fix mlfqs tests, complete BSD scheduling
|
2024-10-17 18:31:09 +01:00 |
|
|
|
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 |
|
|
|
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 |
|
|
|
630fbaa3ab
|
implement thread_get_nice & thread_get_recent_cpu
|
2024-10-17 18:31:09 +01:00 |
|
|
|
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
|
4e4b5fb83c
|
modify gitignore to ignore vscode files
|
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 |
|