Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I make sure my new phase is not the cause of unnecessary long compile time?

cause phase sure time unnecessary
0
0 Posted

How do I make sure my new phase is not the cause of unnecessary long compile time?

0
0

All optimization phases are timed by the compiler for ease of measurement. Please make your phase timed also. It’s simple and you only need to add two lines in your code, one after entering your phase, for example: Start_Timer(T_Aurora_LOCS_CU); and another before leaving your phase, for example: Stop_Timer(T_Aurora_LOCS_CU); and remember to include timing.h in your code. Naturally, you’ll need to define your timing phase, please look at file be/com/timing.h. After re-compiling, you can get timing info using -Wb,-ti1.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123