Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/time/clock.c

    r9dae191e r98000fb  
    8686        uptime->seconds1 = 0;
    8787        uptime->seconds2 = 0;
    88         uptime->useconds = 0;
     88        uptime->useconds = 0; 
    8989
    9090        clock_parea.pbase = (uintptr_t) faddr;
     
    137137        size_t missed_clock_ticks = CPU->missed_clock_ticks;
    138138        unsigned int i;
    139 
    140         /* Account lost ticks to CPU usage */
    141         if (CPU->idle) {
    142                 ASSERT(missed_clock_ticks == 0);
    143                 CPU->idle_ticks++;
    144         } else {
    145                 CPU->busy_ticks += missed_clock_ticks + 1;
    146         }
    147         CPU->idle = false;
    148139
    149140        /*
Note: See TracChangeset for help on using the changeset viewer.