Changeset a2a00e8 in mainline for kernel/generic/include/proc/task.h


Ignore:
Timestamp:
2010-03-28T23:05:18Z (14 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/include/proc/task.h

    r34bba0e ra2a00e8  
    123123        /** Accumulated accounting. */
    124124        uint64_t cycles;
     125        uint64_t ucycles;
     126        uint64_t kcycles;
    125127} task_t;
    126128
     
    134136extern task_t *task_find_by_id(task_id_t id);
    135137extern int task_kill(task_id_t id);
    136 extern uint64_t task_get_accounting(task_t *t);
     138extern uint64_t task_get_accounting(task_t *t, uint64_t *ucycles, uint64_t *kcycles);
    137139extern void task_print_list(void);
    138140
Note: See TracChangeset for help on using the changeset viewer.