Changeset d0c82c5 in mainline for kernel/generic/src/sysinfo/stats.c


Ignore:
Timestamp:
2010-06-16T19:44:53Z (14 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5387807
Parents:
5954241
Message:

perfect CPU cycles accounting, cherry-picked and adopted from lp:~ersin/helenos/measure2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/sysinfo/stats.c

    r5954241 rd0c82c5  
    124124                stats_cpus[i].active = cpus[i].active;
    125125                stats_cpus[i].frequency_mhz = cpus[i].frequency_mhz;
    126                 stats_cpus[i].busy_ticks = cpus[i].busy_ticks;
    127                 stats_cpus[i].idle_ticks = cpus[i].idle_ticks;
     126                stats_cpus[i].busy_cycles = cpus[i].busy_cycles;
     127                stats_cpus[i].idle_cycles = cpus[i].idle_cycles;
    128128               
    129129                irq_spinlock_unlock(&cpus[i].lock, true);
Note: See TracChangeset for help on using the changeset viewer.