16 Commits
Author SHA1 Message Date
EDiasAlberto 4a5de13d1e implement recent_cpu calculations on every second 2024-10-16 18:45:28 +01:00
EDiasAlberto 7a1aa21e1e implement logic to increment recent_cpu on every timer_interrupt () call 2024-10-16 18:34:56 +01:00
EDiasAlberto 0db3551a9a implement behaviour for thread recent_cpu to be defined based on parent recent_cpu, 0 for initial thread 2024-10-16 18:27:21 +01:00
EDiasAlberto efed660968 implement thread_set_nice and make skeleton for calculate_priority 2024-10-15 19:25:02 +01:00
EDiasAlberto ab66551c06 implement thread_get_nice 2024-10-15 19:21:15 +01:00
EDiasAlberto 3e379acd5e modify gitignore to ignore vscode files 2024-10-15 17:27:16 +01:00
EDiasAlberto 2834af032d fix bracketing issue in ROUNDING_FP_TO_INT 2024-10-15 17:23:03 +01:00
EDiasAlberto df89bda71e modify thread struct to track thread niceness and recent_cpu time 2024-10-15 17:09:06 +01:00
EDiasAlberto 5178b72370 comment fixed point arithmetic header 2024-10-15 15:34:06 +01:00
EDiasAlberto 724b6065f7 implement macros for fp multiplication and division 2024-10-15 15:24:34 +01:00
EDiasAlberto 1f1ffe4470 add brackets to fixed-point conversion_const calculation for clarity 2024-10-15 15:15:16 +01:00
EDiasAlberto 42b0ff9d17 define basic fixed-point arithmetic operations 2024-10-15 15:13:40 +01:00
EDiasAlberto 4e271ea5ab rewrite fixed-point.h to not have magic numbers 2024-10-15 15:04:26 +01:00
EDiasAlberto 4f6849c4a4 fix gitignore formatting 2024-10-15 14:59:57 +01:00
EDiasAlberto 1eb9abfdcd update gitignore to remove CLion files 2024-10-15 14:58:35 +01:00
EDiasAlberto 1042295e5f define fixed point arithmetic constants 2024-10-15 14:57:37 +01:00