Changeset 88dea9d in mainline for kernel/generic/include/proc/task.h
- Timestamp:
- 2010-04-17T16:28:49Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 30a5470
- Parents:
- 5ba201d (diff), 95319bd (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/proc/task.h
r5ba201d r88dea9d 57 57 #include <mm/as.h> 58 58 59 # define TASK_NAME_BUFLEN 2059 #include <ps/taskinfo.h> 60 60 61 61 struct thread; … … 94 94 answerbox_t answerbox; /**< Communication endpoint */ 95 95 phone_t phones[IPC_MAX_PHONES]; 96 task_ipc_info_t ipc_info; /**< IPC statistics */ 96 97 /** 97 98 * Active asynchronous messages. It is used for limiting uspace to … … 122 123 123 124 /** Accumulated accounting. */ 124 uint64_t cycles; 125 uint64_t ucycles; 126 uint64_t kcycles; 125 127 } task_t; 126 128 … … 134 136 extern task_t *task_find_by_id(task_id_t id); 135 137 extern int task_kill(task_id_t id); 136 extern uint64_t task_get_accounting(task_t *t);138 extern void task_get_accounting(task_t *t, uint64_t *ucycles, uint64_t *kcycles); 137 139 extern void task_print_list(void); 138 140
Note:
See TracChangeset
for help on using the changeset viewer.