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

@@ -108,6 +108,8 @@ int either_copyout(int user_dst, uint64 dst, void *src, uint64 len);
int either_copyin(void *dst, int user_src, uint64 src, uint64 len);
void procdump(void);
int proc_size(void);
int get_current_load(void);
void update_load_avg(void);
// swtch.S
void swtch(struct context *, struct context *);