group/pintos/src/threads/thread.c
/* Returns 100 times the current thread's recent_cpu value. */
Returns 100 times the current thread's recent_cpu value.
Returns 100 times the current thread ' s recent_cpu value .
int
thread_get_recent_cpu (void)
{
  return fix_round(fix_scale(thread_current()->recent_cpu, 100));
}
int thread_get_recent_cpu ( void ) { return fix_round ( fix_scale ( thread_current ( ) -> recent_cpu , 100 ) ) ; }
Returns 100 times the current thread's recent_cpu value.
Returns 100 times the current thread ' s recent_cpu value .