Hi!
> Quoting https://lkml.org/lkml/2015/2/19/384
>   "The idea that time() would be ok as being HZ granular, and its
>   been this way since 2.6.23.  Thus you have a < HZ sized window
>   where gettimeofday() will return the next second before time()
>   gets updated by the tick."

Looks good.

Using clock_gettime() with monotonic clock would be even better but for
that we would have to create an abstract time measuring interface that
falls back to gettimeofday() if timers could not be used...

-- 
Cyril Hrubis
chru...@suse.cz

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to