Thank you, Mario, for the quick reply.
I’ll try it out. Did’nt thougt its that easy (simple cli instruction). I
allready tried to set the task priority to realtime at a windows programm,
but without success. RTDSC returned up to 3 different values at 5 runs.
However, i’ll try QNX. (as soon as the download completes )
Thx, again,
Mike
Mario Charest <mcharest@nowayzinformatic.com> schrieb in im Newsbeitrag:
9ng9ho$o4o$1@inn.qnx.com…
“Mike” <> just.me@aon.at> > wrote in message news:9ng73o$mu4$> 1@inn.qnx.com> …
Greetings,
i am pretty new to qnx (downloading the iso image, while i write this
lines.) and have a few questions:
So QNX is a RTOS?
Yes
Can i do assembly programming in qnx? ( which syntax AT&T or INTEL?)
Yes, not sure which one though.
Can i ‘lock’ the system to avoid that my programm could be desturbed?
Yes but that’s generaly consider unfriendly >
Are the GNU-tools (gcc, make, gas…) available for QNX ?
Yes
I have to do some performance measuring in assembly language (using the
instruction rdtsc ) and wonder if i can do it with qnx.
Sure you can. As a matter of fact the function ClockPeriod() is a C cover
for rdtsc.
(Windows and Linux seems to be unuseable, because i can’t make my
programm
uninterruptable) The problem is that the taks/program should not be
desturbed during measuring.
Is it possible to make a funktion/task uninterruptable in QNX, and are
there
any examples on how to do it?
Yes, simply disable interrupts. Check doc for InterruptEnable(). Note
that
if you disable it for too long you could cause some problems. The other
method
is to set the process to high priority, but it would still be disturb by
interrupts.
Thanks in advance,
Mike
\