sysproc.c
// return how many clock tick interrupts have occurred
// since start.
return how many clock tick interrupts have occurred
since start.
return how many clock tick interrupts have occurred since start .
int
sys_uptime(void)
{
  return uptime();
}
int sys_uptime ( void ) { return uptime ( ) ; }
return how many clock tick interrupts have occurred
since start.
return how many clock tick interrupts have occurred since start .
// uint xticks; // acquire(&tickslock); // xticks = ticks; // release(&tickslock);