Mario Charest wrote:
“Alex Guryanow” <> gav@ets.ifmo.ru> > wrote in message
news:> 3B4C586F.B8C99A77@ets.ifmo.ru> …
Rennie Allen wrote:This dispatch latency comes into play every time an interrupt (from any
source) occurs; thus the worst case delay that will be seen in practice
is (1.38 + longest handler exec time) * X (where X is the number of
hardware interrupts of a higher hardware priority than the one you are
interested in).The bottom line is that anyone developing a real-time system must
independently test (on the actual hardware in question) the execution
time of all handlers that have a higher hardware priority than the
handler for which a worst case time must be known,and how can be this tested?
Instrumented kernel.
Sorry, what is it “instrumented kernel”?
it
does not do your work for you; it can’t (besides, that is why you get
the big bucks >> . It would be nice if QSSL quoted the worst-case
execution paths for all of their drivers, but this would serve only to
reduce the number of drivers that QSSL could afford to supportwhy? are these drivers developped not by QSSL?
This take lots of time to test. Plus it also mean everytime a single line
of relavent code is modified the whole testing has to be done all over
again.
Very time consuming. QA already seems to have their hands full >
why to test? Cannot be this calculated using knowledge of each instruction time?
(not a
desirable situation, since I use QNX for development time, as well as
deployment time, and I want as few restrictions as possible on the types
of hardware I can use on my development box).Ok, in develpment box one can use the hardware and drivers which interrupt
handling times are unknown, but in
working real-time system should be used only that hardware which latencies
are well known. IMHO.Yes but how QNX can tell which hardware you’ve decide to use?
They don’t should tell this. The developper of the system should select those
hardware for target system which time latencies are known.
Hence
their number would be meaningless anyway. Further more, since latency
is also affected by hardware (chipset) tracking this info (if it’s available
in the
first place)
How big is this hardware latency?
Alex