Changeset cce6acf in mainline for kernel/generic/include/proc/thread.h


Ignore:
Timestamp:
2006-12-13T12:10:23Z (18 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e9db6f9e
Parents:
7e13972
Message:

thread CPU cycles accounting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/proc/thread.h

    r7e13972 rcce6acf  
    146146
    147147        uint64_t ticks;                         /**< Ticks before preemption. */
     148       
     149        uint64_t cycles;                        /**< Task accounting. */
     150        uint64_t last_cycle;            /**< Last sampled cycle. */
    148151
    149152        int priority;                           /**< Thread's priority. Implemented as index to CPU->rq */
     
    190193extern void thread_print_list(void);
    191194extern void thread_destroy(thread_t *t);
     195extern void thread_update_accounting(void);
    192196extern bool thread_exists(thread_t *t);
    193197
Note: See TracChangeset for help on using the changeset viewer.