Changeset d70f530 in rtems
- Timestamp:
- 07/22/15 13:41:44 (9 years ago)
- Branches:
- 5, master
- Children:
- 9780fa93
- Parents:
- 0910e9d4
- git-author:
- Sebastian Huber <sebastian.huber@…> (07/22/15 13:41:44)
- git-committer:
- Sebastian Huber <sebastian.huber@…> (07/24/15 07:09:18)
- Location:
- cpukit/libmisc/monitor
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/libmisc/monitor/mon-task.c
r0910e9d4 rd70f530 9 9 #include <rtems.h> 10 10 #include <rtems/monitor.h> 11 #include <rtems/score/threadimpl.h> 11 12 #include <rtems/score/threadqimpl.h> 12 13 … … 29 30 canonical_task->stack = rtems_thread->Start.Initial_stack.area; 30 31 canonical_task->stack_size = rtems_thread->Start.Initial_stack.size; 32 canonical_task->cpu = _Per_CPU_Get_index( _Thread_Get_CPU( rtems_thread ) ); 31 33 canonical_task->priority = rtems_thread->current_priority; 32 34 canonical_task->state = rtems_thread->current_state; … … 58 60 { 59 61 fprintf(stdout,"\ 60 ID NAME 61 0a010004 SHLL 62 ID NAME CPU PRI STATE MODES EVENTS WAITID WAITQUEUE\n"); /* 63 0a010004 SHLL 0 100 READY P:T:nA NONE 00000000 00000000 [DFLT] */ 62 64 63 65 rtems_monitor_separator(); … … 78 80 length += rtems_monitor_pad(11, length); 79 81 length += rtems_monitor_dump_name(monitor_task->id); 82 length += rtems_monitor_pad(21, length); 83 length += rtems_monitor_dump_decimal(monitor_task->cpu); 80 84 length += rtems_monitor_pad(26, length); 81 85 length += rtems_monitor_dump_priority(monitor_task->priority); -
cpukit/libmisc/monitor/monitor.h
r0910e9d4 rd70f530 100 100 void *stack; 101 101 uint32_t stack_size; 102 uint32_t cpu; 102 103 rtems_task_priority priority; 103 104 States_Control state;
Note: See TracChangeset
for help on using the changeset viewer.