Skip navigation.
Home
The QNX Community Portal

View topic - testing timimg intervel of timers

testing timimg intervel of timers

Discussions, suggestions, requests about this website.

testing timimg intervel of timers

Postby pradeep » Thu Mar 22, 2012 5:35 am

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
pradeep
Active Member
 
Posts: 20
Joined: Tue Aug 09, 2011 7:17 am

Re: testing timimg intervel of timers

Postby denkelly » Thu Mar 22, 2012 11:17 am

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.
denkelly
Senior Member
 
Posts: 160
Joined: Sat Aug 02, 2008 3:27 pm

Re: testing timimg intervel of timers

Postby pradeep » Thu Mar 29, 2012 2:34 pm

Please suggest me how to start kernel instrumented mode
pradeep
Active Member
 
Posts: 20
Joined: Tue Aug 09, 2011 7:17 am

Re: testing timimg intervel of timers

Postby denkelly » Wed Apr 04, 2012 11:25 am

>>>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.
denkelly
Senior Member
 
Posts: 160
Joined: Sat Aug 02, 2008 3:27 pm


Return to OpenQNX Site

Who is online

Users browsing this forum: No registered users and 1 guest