3 Replies Latest reply on Jul 27, 2015 10:39 AM by allene

    How can I create a time stamp with 1/100 sec resolution


      I have looked at Linux documents but none of the commands I tried run on the Edison.  There are some really nice code samples online, but they don't work on Edison either.


      What I want I would think is fairly easy.  I need to time stamp incoming data so I can see the timing of asynchronous things relative to each other.  All I can think of is create a thread in C and sleep for 1/100 second and increment a global counter every loop.  The other time functions I have found only have one second resolution.


      void *time_stamp(void *arg){





      return NULL;



      There must be a better way...