Tool/software: Code Composer Studio
Sample Src
(ti\mmwave_industrial_toolbox_4_3_1\labs\people_counting\68xx_Sense_and_Direct_HVAC_Control\src\mss\gtrack\test\common\gtrackApp.c)
as below
---------------------------------------------------------------------------------------------------------------------------------
Cycleprofiler_init();
gtrackStartTime = gtrack_getCycleCount(); /*Set Start Time*/
for(n=0; n<1000; n++) {
/* one milisecond */
SOC_microDelay(1000);
}
cyclesPerSecond = gtrack_getCycleCount() - gtrackStartTime;
/*END Time - START Time = process Time*/
System_printf("Calibration: 1 seconds is %u Cycless\n", cyclesPerSecond);
/*display process time*/
Question !
Timer doesnot work precess time value = 0
Please tell me what to do