Changes in kernel/generic/include/proc/task.h [a000878c:9dae191e] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/proc/task.h
ra000878c r9dae191e 56 56 #include <ipc/kbox.h> 57 57 #include <mm/as.h> 58 59 #define TASK_NAME_BUFLEN 20 58 #include <sysinfo/abi.h> 60 59 61 60 struct thread; … … 81 80 task_id_t taskid; 82 81 /** Task security context. */ 83 context_id_t context; 82 context_id_t context; 84 83 85 84 /** Number of references (i.e. threads). */ … … 89 88 90 89 /** Task capabilities. */ 91 cap_t capabilities; 90 cap_t capabilities; 92 91 93 92 /* IPC stuff */ 94 93 answerbox_t answerbox; /**< Communication endpoint */ 95 94 phone_t phones[IPC_MAX_PHONES]; 95 stats_ipc_t ipc_info; /**< IPC statistics */ 96 96 /** 97 97 * Active asynchronous messages. It is used for limiting uspace to … … 119 119 mutex_t futexes_lock; 120 120 /** B+tree of futexes referenced by this task. */ 121 btree_t futexes; 121 btree_t futexes; 122 122 123 123 /** Accumulated accounting. */ 124 uint64_t cycles; 124 uint64_t ucycles; 125 uint64_t kcycles; 125 126 } task_t; 126 127 … … 134 135 extern task_t *task_find_by_id(task_id_t id); 135 136 extern int task_kill(task_id_t id); 136 extern uint64_t task_get_accounting(task_t *t);137 extern void task_get_accounting(task_t *t, uint64_t *ucycles, uint64_t *kcycles); 137 138 extern void task_print_list(void); 138 139
Note:
See TracChangeset
for help on using the changeset viewer.