This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Hard-Realtime behaviour


> 8. ...
> 

Disable the caches. How long something takes to execute will depend on
what is in the cache. If the code to be executed is still in the cache
from the last time it was executied, it will execute a lot quicker
than if it has to be fetches from RAM/ROM. The same applies to the
data to be processed. So to be deterministic, you need to disable
caches.

It was much easier to write hard real time systems on older
hardware. You wrote it in assembly language and you knew exactly how
long an instruction took to execute, so it was simple arithmatic. Now
a days you have little idea what the processor really is doing......

        Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]