Open leonid-galperin opened 6 months ago
I see what you are seeing. It appears that the information in tx_api.h applies to building the C code. It appears that TX_ENABLE_EXECUTION_CHANGE_NOTIFY should be used when building the assembly code. Have you tried that combination yet?
Describe the bug I'm using ThreadX port for Cortex-R5. I have several tasks in my application and want to measure overall CPU load by means of kindly provided Execution Profile Kit
According to _txapi.h comments (line 618): "For Azure RTOS 6, user shall use TX_EXECUTION_PROFILE_ENABLE instead of TX_ENABLE_EXECUTION_CHANGE_NOTIFY" In fact there is no any use of TX_EXECUTION_PROFILE_ENABLE macros.
On the other hand _tx_threadschedule.s contains lines:
Also there is not clear description how to use EPK to measure CPU load