Dennis Kellly
|
Re: execution time QNX on TX9DL
|
Dennis Kellly
06/10/2016 8:34 AM
post116396
|
Re: execution time QNX on TX9DL
|
|
|
David Sarrazin
|
RE: execution time QNX on TX9DL
|
David Sarrazin
06/10/2016 8:34 AM
post116397
|
RE: execution time QNX on TX9DL
sounds like there are deeper problems. If you do a "sleep 10" in your program, and time it with your watch, does it
actually sleep for 10s? That will give an indication if the clocks/timers are working.
What result is clock() giving, versus what you expected, for the number of ticks?
If you make a simple program that just calls clock() twice, does it always fails with the Illegal instruction?
________________________________________
From: Djillali Redjradj [community-noreply@qnx.com]
Sent: Friday, June 10, 2016 8:30 AM
To: ostech-core_os
Subject: execution time QNX on TX9DL
Hi,
I'm running QNX on Karo TX9DL, i want to get the execution time of my program.
I tried clock() but it don't give a correct number of ticks, and when I use it twice in the program it display un error
when I execute the program "Illegal instruction" !!
Can you give me other solutions to measure the time execution ?
Thanks,
_______________________________________________
OSTech
http://community.qnx.com/sf/go/post116395
To cancel your subscription to this discussion, please e-mail ostech-core_os-unsubscribe@community.qnx.com
|
|
|