mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 20:58:22 +00:00
scheduler: continue work
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user