I am relatively new to CCS. We have developed a project that has some time critical code and multiple interrupt sources. It is of interest to find the worst case execution times of different ISRs and some other code segments. Recently we have been using LED based approach to measure execution time for some code segments. In this regard please guide on the following points:
1- Which profiling methods are available in CCS and which one will be best for our use case?.
2- The code can take different paths depending on inputs. Is there a method to find worst case execution time for a particular code section. For e.g. specifying the range of of input data so that the tool can evaluate worst case for the entire range?.
3- We find it tricky to set break points in the code when optimizations are turned ON. Are there standard procedures for time profiling the codes that have compiler optimizations set.?
4- What is the proper way to time profile the code in the ISR?. I have experienced troubles in setting break points in the ISR.