Hi,
Usually is you want to some timing measurements it's best to use the boad's timers. If you are doing timed finite or continous you can get the system time when you take the first sample. Then using the sampling rate information you can calculate accurate timing information.
I hope this helps, let me know if you have any further questions.
Regards,
Juan Carlos
N.I.