Changeset a2a00e8 in mainline for kernel/generic/src/ps/ps.c


Ignore:
Timestamp:
2010-03-28T23:05:18Z (15 years ago)
Author:
Stanislav Kozina <stanislav.kozina@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
07640dfd
Parents:
34bba0e
Message:

Accounting separated to kernel and user time.

File:
1 edited

Legend:

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

    r34bba0e ra2a00e8  
    132132        copy_to_uspace(uspace_info->name, t->name, sizeof(t->name));
    133133
    134         uint64_t cycles = task_get_accounting(t);
     134        uint64_t ucycles;
     135        uint64_t kcycles;
     136        uint64_t cycles = task_get_accounting(t, &ucycles, &kcycles);
    135137        copy_to_uspace(&uspace_info->cycles, &cycles, sizeof(cycles));
    136138
Note: See TracChangeset for help on using the changeset viewer.