Hello,
I would like to query the high resolution clock in DSP/BIOS within my own codec in Codec Engine (iUniversal; on the target device, not in CCS). What files do I need to #include and how do I have to change makefiles or any configuration files?
The functions I would like to use are CLK_countspms(), CLK_cpuCyclesPerHtime(), CLK_gethtime().
The codec is based on a template created with the codec generation wizard, the server was created in a similar way (wizard). The application is based on a Codec Engine example.
My setup:
OMAP 3530
codec_engine_2_26_02_11
dsplink_linux_1_65_00_03
xdctools_3_20_08_88
bios_5_41_10_36
TMS320C6000 C/C++ CODE GENERATION TOOLS 7.3.0
Please understand that I do not want to update to SYS/BIOS at the moment.
I want to use the CLK functions for profiling. Using CE_DEBUG as explained in the following link significantly increases my DSP CPU load.
http://processors.wiki.ti.com/index.php/Codec_Engine_Profiling#Profiling_DSP-side_process.28.29_calls_in_an_ARM.2BDSP_environment
Thank you very much.