Commit Graph

9 Commits

Author SHA1 Message Date
4701eaf0cb Implementation of load average calculation and corresponding /proc entry
Moved everything into the kernel side. Add a SchedulerStats trait

Use 'fixed' to represent fixed-point numbers

Make the loadavg calculation lazy
2024-11-05 11:46:23 +08:00
1b23182dcc Fix the thread status ordering by limiting the API 2024-10-26 22:06:41 +08:00
54a807b5f7 Modify asterinas/kernel/src/process/posix_thread/mod.rs 2024-10-18 09:31:25 +08:00
f159b42b61 Fix the condition in is_last_thread 2024-09-18 16:59:17 +08:00
f3174dbbbc Make task store Arc<Thread> and process store Arc<Task> 2024-09-14 17:34:14 +08:00
81b0f265b5 Move Tid from Thread to PosixThread 2024-09-14 17:34:14 +08:00
822caf34f4 Move Pauser's functionality to Waiter/WaiterQueue and add the per-thread signalled waker 2024-09-14 13:59:07 +08:00
a72c7dadf3 Optimize the latency of lmbench-signal-prot 2024-08-28 14:27:41 +08:00
dafd16075f Remove the shim kernel crate 2024-08-23 23:37:50 +08:00