I'm writing a datalogging program in C on the Intel Edison. The program writes rows of tab-separated data to a log file at irregular but frequent intervals. I'd like to record the current time, or at least the time elapsed since the start along with the data, with at least .01 second precision.
I've been searching for a function that can help me with this, but everything I've found can only give me 1 second precision.
How can I achieve what I'd like to do?