optinal load_avg to fix

This commit is contained in:
2025-03-26 09:32:27 +08:00
parent e66ab82e63
commit 2001e8e478
11 changed files with 68 additions and 20 deletions

View File

@ -1,4 +1,8 @@
#include "defs.h"
#define ALPHA 0.9
extern uint64 load_avg;
// Saved registers for kernel context switches.
struct context {
uint64 ra;