and done. I'm using std::chrono::high_resolution_clock::now();
On Wed, Apr 9, 2014 at 10:35 AM, Othman, Ossama <ossama.oth...@intel.com> wrote: > Hi Kevron, > > On Wed, Apr 9, 2014 at 10:13 AM, Rees, Kevron <kevron.m.r...@intel.com> > wrote: >> >> On Wednesday, April 9, 2014, Jussi Laako <jussi.la...@linux.intel.com> >> wrote: >>> >>> On 5.4.2014 20:25, Rees, Kevron wrote: >>>> >>>> Timestamp is automatically set when the source (AMB source plugin) >>>> passes the raw event to AMB's core. It relies on the system clock. >>> >>> >>> I hope it's a truly monotonic clock and not something like >>> gettimeofday()... ;) >> >> >> >> I use clock_gettime(CLOCK_REALTIME, &tm); >> >> If there is a better way, I'm all ears:p > > > C++11 FTW: std::chrono::steady_clock::now() :) > > -Ossama > _______________________________________________ IVI mailing list IVI@lists.tizen.org https://lists.tizen.org/listinfo/ivi