diff options
author | Thomas Doerfler <Thomas.Doerfler@embedded-brains.de> | 2007-09-05 20:35:36 +0000 |
---|---|---|
committer | Thomas Doerfler <Thomas.Doerfler@embedded-brains.de> | 2007-09-05 20:35:36 +0000 |
commit | 501ab69168fbfcd81270f7e1943162b87c62b8cc (patch) | |
tree | f747727466317e8b93709046fd0367270d6d550e /cpukit/libmisc/monitor/mon-task.c | |
parent | 2007-09-05 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-501ab69168fbfcd81270f7e1943162b87c62b8cc.tar.bz2 |
Added osmonweb support functionality to monitor
Diffstat (limited to 'cpukit/libmisc/monitor/mon-task.c')
-rw-r--r-- | cpukit/libmisc/monitor/mon-task.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cpukit/libmisc/monitor/mon-task.c b/cpukit/libmisc/monitor/mon-task.c index 98e097dc71..d559fd3962 100644 --- a/cpukit/libmisc/monitor/mon-task.c +++ b/cpukit/libmisc/monitor/mon-task.c @@ -33,6 +33,14 @@ rtems_monitor_task_canonical( canonical_task->state = rtems_thread->current_state; canonical_task->wait_id = rtems_thread->Wait.id; canonical_task->events = api->pending_events; + /* + * FIXME: make this optionally cpu_time_executed + */ +#if 0 + canonical_task->ticks = rtems_thread->ticks_executed; +#else + canonical_task->ticks = 0; +#endif /* XXX modes and attributes only exist in the RTEMS API .. */ /* XXX not directly in the core thread.. they will have to be derived */ |