mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-28 21:28:21 +00:00
scheduler: begin rework
This commit is contained in:
@@ -52,6 +52,13 @@ typedef struct thread_t {
|
||||
bool hasreturnmask;
|
||||
bool stopped;
|
||||
} signals;
|
||||
struct {
|
||||
int interactivity_score;
|
||||
time_t sleep_time_avg_us;
|
||||
time_t run_time_avg_us;
|
||||
timespec_t sleep_start;
|
||||
timespec_t run_start;
|
||||
} metrics;
|
||||
} thread_t;
|
||||
|
||||
__attribute__((noreturn)) void sched_threadexit();
|
||||
|
||||
Reference in New Issue
Block a user