system/src/newlib/_syscalls.c
/* Return a clock that ticks at 100Hz.  */
Return a clock that ticks at 100Hz.
Return a clock that ticks at 100Hz .
clock_t
_times (struct tms* tp)
{
  clock_t timeval = _clock ();
  if (tp)
    {
      tp->tms_utime = timeval; 
      tp->tms_stime = 0; 
      tp->tms_cutime = 0; 
      tp->tms_cstime = 0; 
    }
  return timeval;
}
clock_t _times ( struct tms * tp ) { clock_t timeval = _clock ( ) ; if ( tp ) { tp -> tms_utime = timeval ; tp -> tms_stime = 0 ; tp -> tms_cutime = 0 ; tp -> tms_cstime = 0 ; } return timeval ; }
Return a clock that ticks at 100Hz.
Return a clock that ticks at 100Hz .
/* user time */ /* system time */ /* user time, children */ /* system time, children */