View topic - testing timimg intervel of timers

Page 1 of 1

testing timimg intervel of timers

PostPosted: Thu Mar 22, 2012 5:35 am
by pradeep
Hi,

I have created two process with two different timers one running at 10ms and other at 50ms, application is working fine but i want to show the client the timing difference between two process. Suggest me a method where i can show the timing difference of both the timers.

regards
pradeep

Re: testing timimg intervel of timers

PostPosted: Thu Mar 22, 2012 11:17 am
by denkelly
For QNX6, the IDE's System Profiler is perfect for examining the timing. You can look at the interaction of both your processes in the same trace. Requires that you start an "instrumented" version of the kernel.

Re: testing timimg intervel of timers

PostPosted: Thu Mar 29, 2012 2:34 pm
by pradeep
Please suggest me how to start kernel instrumented mode

Re: testing timimg intervel of timers

PostPosted: Wed Apr 04, 2012 11:25 am
by denkelly
>>>Please suggest me how to start kernel instrumented mode
Replace the kernel you are using with corresponding kernel with "-instr" at the end of the name. These are found in x86/boot/sys.
From the IDE, select the "system profiler" perspective.
Create a "target" for your system, indicating the IP address of your target ... must be running "qconn" and your app.
Right-click on the target you created and select "Log with.." from the popup menu - Kernel Event Trace.
Data will be collected for 3 seconds and placed in a .kev file.
Open that file in the IDE and you will see six "views" of your system... select Timeline.
You can "zoom in" on tens of milliseconds and examine the timing.
Hover over "events" (vertical hashes) to see details.
Click on an event to see the complete log at that point in time.
See threads by clicking the + next to each process name.