How do I get the current clock ticks? I want to be able to get delta clock ticks within my C application running on a C2000 (F28335) processor which is also utilizing DSP/BIOS 5.xxx (CCSv4).
Here is what I want to do.
void AFunc(void) {
uint32 t0,t1,dt;
t0 = what_ever_function_will_get_me_current_clock_ticks();
<BODY-OF-THE-FUNCTION-TO-BE-TIMED>
t1 = what_ever_function_will_get_me_current_clock_ticks();
dt = t1 - t0; // delta clock ticks
Thanks