> You could have each task set a parallel port bit high during execution and
> set it low again just before it returns. If you can look at all of the bits
> at once using a 4 channel scope or logic analyzer if there are more than 4
> tasks. This would give you a complete picture of what was running and when.
> When all bits are low then linux is running.
>
wont work - something like
while(1){
clear_parport(bit_num);
pthread_wait_np();
set_parport(bit_num);
...
actual_task
...
}
task 1 starts -> bit 0 set 1
task 2 preempts task1 -> bit 1 set 1, bit 0 still 1
so you don't get the execution time of task 1 corectly you get task1 + the
summ of all tasks/interrupts that preemted task 1, if this is not a very
simple setup it will be hard to get the data in a usable way.
hofrat
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/