============================================================
Operating System: QNX 4.25
Platform: Pentium P5 , 133 Mhz, 16M
Application: Video Analysis
Background:
Our system interfaces with several other CCAs via VME Bus (Universe I
chipset).
In our application there are over 20 processes running at different priority
levels.
Of these processes, one is responsible for sending a periodic message to
another CCA, the nominal frequency
of this transmission is 0.8 seconds. The transmission is scheduled based on
a proxy sent by a timer event.
On occasion, the transmission is delayed by up to 3.3 seconds.
Problem:
I’ve been able to generate a monitor file containing the events surrounding
the condition and I’m using Deja-view
to sift through the monitor file. Unfortuneatly, the monitor file does not
contain info about what function calls
were executed; this info may help aid in determining what system events
pre-empted the specific function call (gprecmsg) that
transmits the periodic message.
I’ve also compiled the gprecmsg file using the following compiler
options: -Wc,"-ee -ep"; this step was recommended
in the deja-view manual for tracing function calls. When my application s/w
executes, it generates a second monitor file
with the same filename as the process containing the special compilation.
After I shutdown my application, the process is
left running (this is intentional in our system) so I slay the process to
terminate the monitoring session. When I try to convert
the monitor file generated by the process using mindex, mindex begins to
execute but terminates due to a Memory Fault.
Mindex has no problem converting a file generated by the utility “monitor”.
I also checked the file size of this file and it is
under 1Meg so its size is not the problem. I’ve run “chkfsys” on the drive
in hopes of fixing the file but had no luck.
Question:
- Is the other tools available that would better suit my needs?
- If no to Q1 then what should I do to generate a more detailed monitor
file? - Is there a better method to determine what events are pre-empting my
transmission by so much time?
Thank you in advance for your assistance,
William Shadid
Software Development Specialist
Neptec Design Group
Ph: 613-599-7603 ext. 290
Fax: 613-599-7604
e-mail: bshadid@neptec.com
=========