Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset e257ae3 in mainline for kernel/generic/src/cpu/cpu.c


Ignore:
Timestamp:
2010-03-31T13:42:17Z (12 years ago)
Author:
Stanislav Kozina <stanislav.kozina@…>
Branches:
lfn, master
Children:
0655d64
Parents:
944f2cab
Message:

Counting CPU busy and idle clock ticks.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/cpu/cpu.c

    r944f2cab re257ae3  
    7474                       
    7575                        cpus[i].id = i;
     76                        cpus[i].idle_ticks = 0;
     77                        cpus[i].busy_ticks = 0;
    7678                       
    7779                        spinlock_initialize(&cpus[i].lock, "cpu_t.lock");
Note: See TracChangeset for help on using the changeset viewer.