implement recent_cpu
This commit is contained in:
@@ -96,7 +96,7 @@ struct thread
|
||||
|
||||
/* MLFQS items */
|
||||
int nice; /* Nice value for this thread */
|
||||
fp32_t recent_cpu; /* Amount of time this process received */
|
||||
fp32_t recent_cpu; /* Amount of time this process received */
|
||||
|
||||
#ifdef USERPROG
|
||||
/* Owned by userprog/process.c. */
|
||||
|
||||
Reference in New Issue
Block a user