Home
Developer Resources
QNX RTOS v4
QNX RTOS v4 Knowledge Base

QNX RTOS v4 Knowledge Base

Foundry27
Foundry27
QNX RTOS v4 project
Resources

QNX RTOS v4 Knowledge Base

Title Using the Watcom tool to create faster applications
Ref. No. QNX.000000616
Category(ies) Development
Issue Using QNX4 and Watcom 10.6, what can be done to increase the speed of our applications?




Solution This is covered in the Watcom under Chapter 2. Check out benckmarking hints, and the -O ("oh") options in Chapter 1.

For example ...

If you are already using the compiler optimizations, and you want to improve the speed of your code, you should run the Watcom  profiler. This will show you where your code is spending most of its time, so you can optimize that part of your code with the best results. To do this you first run sample on your program. Then start wprof with the resulting sample file.