scheduler: continue work

This commit is contained in:
Matheus
2025-08-23 13:54:45 -03:00
parent 1787658989
commit 7a890ac41d
13 changed files with 197 additions and 33 deletions
+2
View File
@@ -30,6 +30,7 @@ typedef struct thread_t {
struct proc_t *proc;
struct cpu_t *cpu;
struct cpu_t *cputarget;
struct cpu_t *last_cpu;
context_t context;
extracontext_t extracontext;
void *kernelstack;
@@ -63,6 +64,7 @@ typedef struct thread_t {
time_t run_time_avg_us;
timespec_t sleep_start;
timespec_t run_start;
time_t last_sleep_duration_us;
} metrics;
} thread_t;