Am Donnerstag, 21. Dezember 2000 09:04 schrieben Sie:

Thanx for quick response.

> It's possible that on rare occasions Linux will have run a task that used
> the FPU so RTL must save FPU state when running your task.  That's a very
> expensive operation and may account for your occasional longer run-time.
>
May be. The runtime of the floating point section varies from less than 50 us
to 500 us in rare occasions. Its unbelievable but that's what I can see on my
scope. (And in the error detection of the software :-)

> You can test this by dropping some conpr's in the FPU switch code when
> Linux owns the fpu.  Let me know what it tells you.

Maybe I'll do this later. For now, I fixed my actual problem by moving the 
code into a non time critical section of my application and using integer 
arithmetics for that calculation instead of floats.

By, Michael


-- [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/rtlinux/

Reply via email to