Changes in kernel/generic/include/proc/task.h [9dae191e:a000878c] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/proc/task.h
r9dae191e ra000878c 56 56 #include <ipc/kbox.h> 57 57 #include <mm/as.h> 58 #include <sysinfo/abi.h> 58 59 #define TASK_NAME_BUFLEN 20 59 60 60 61 struct thread; … … 80 81 task_id_t taskid; 81 82 /** Task security context. */ 82 context_id_t context; 83 context_id_t context; 83 84 84 85 /** Number of references (i.e. threads). */ … … 88 89 89 90 /** Task capabilities. */ 90 cap_t capabilities; 91 cap_t capabilities; 91 92 92 93 /* IPC stuff */ 93 94 answerbox_t answerbox; /**< Communication endpoint */ 94 95 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 ucycles; 125 uint64_t kcycles; 124 uint64_t cycles; 126 125 } task_t; 127 126 … … 135 134 extern task_t *task_find_by_id(task_id_t id); 136 135 extern int task_kill(task_id_t id); 137 extern void task_get_accounting(task_t *t, uint64_t *ucycles, uint64_t *kcycles);136 extern uint64_t task_get_accounting(task_t *t); 138 137 extern void task_print_list(void); 139 138
Note:
See TracChangeset
for help on using the changeset viewer.