On QNX 7.1 (and previous versions) the timer granularity (ticksize) can be changed with the ClockPeriod() "new"argument. This argument is not used in QNX 8.0 any more.
Changing the clock period has been moved from a dynamically configurable value, which could cause
problems for applications, to a system-wide configuration.
Instead of using the ClockPeriod() "new" argument you can get timers with higher precision by
Please refer to the release notes for additional details.
Note: Since timers are now tracked and handled on the core where the thread makes its timer_settime() configuration call, if you hit the 50 event expiration limit, distributing the threads using timers across cores with core affinity will distribute the timer handling across cores (but you need to do your core affinity before setting up your timer), and give all threads better latency when multiple threads have a timer expire at the same time.
NOTE:
This entry has been validated against the SDP version listed above. Use
caution when considering this advice for any other SDP version. For
supported releases, please reach out to QNX Technical Support if you have any questions/concerns.
Please contact us with your questions or concerns.
BlackBerry uses cookies to help make our website better. Some of the cookies are necessary for the proper functioning of the website while others, non-essential cookies, are used to better understand how you interact with our website and to make it better.