Recently we find a strange thing when testing our code on C7x DSP. We are using the J721EXCP01EVM board, and have tried two ways for the code test:
- We develop all codes inside ti-processor-sdk-rtos-j721e-evm-08_01_00_11. We build our library inside vision_apps/apps setting TARGET_CPU as C71, and build our custom kernel on TIVX_TARGET_DSP_C7_1, our kernel contains a test case called our library. Then, we write a demo on A72 which build the graph with our costom kernel node and run the graph. In this way, we get the total running time of our test case is 175 milliseconds.
- We develop all codes inside CCS11.1. We put our library and test case inside a C7100 project. After compiling and linking, we load and run the program on C71X_0 using SEEDXDS560v2. In this way, we get the total running time of our test case is 30 seconds(in release mode).
The total running time are so much different (175ms vs 30s), is this a problem or just a normal thing ? or any configuration is wrong inside CCS ? Any suggenstions ? thanks.