Hi Kevron, On Wed, Apr 9, 2014 at 10:13 AM, Rees, Kevron <[email protected]>wrote: > > On Wednesday, April 9, 2014, Jussi Laako <[email protected]> > 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<http://en.cppreference.com/w/cpp/chrono/steady_clock> ::now() <http://en.cppreference.com/w/cpp/chrono/steady_clock/now> :) -Ossama
_______________________________________________ IVI mailing list [email protected] https://lists.tizen.org/listinfo/ivi
