Hi,

i want to evaluate the time interval between "ARM side sending some data"
and
"DSP side really receive those data( ready to process those data)" and vice
versa.

if i use following way to evaluate, it can just evaluate the time comsumed
in "send" or "receive",
not intervel from "sending" to "finish receiving".
      ARM or DSP side:
      start = get_time();
      send_to_another_side(&data);
      end = get_time();
      (can only get "end - start")


due to above reason, i want to use the following way:
     ARM side                   DSP side
     start = get_time();        receive_data(&buff);
     send_data(&data);       end = get_time();

but the essential condition is the "get_time" in both side must be in the
same time domain.
for instance, if "get_time" value is obtained by query OS timer counter
respectively, then they aren't in the
same time domain due to they(arm and dsp) use different timer as their OS
timer.

so i wonder is there any RTC (real-time counter) that shared by both side in
Davinci?
so that i can query "get_time" from it (the same time domain).
or
any idea about how to evaluate the time interval?


thanks in advance.

best,
kashin lin
_______________________________________________
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to