From mboxrd@z Thu Jan 1 00:00:00 1970 From: compudj@krystal.dyndns.org (Mathieu Desnoyers) Date: Fri, 21 May 2010 08:19:45 -0400 Subject: [ltt-dev] gettimeofday vs clock_gettime In-Reply-To: References: Message-ID: <20100521121945.GB27410@Krystal> * Nils Carlson (nils.carlson at ludd.ltu.se) wrote: > Is there any reason UST uses gettimeofday and not clock_gettime with the > monotonic clock? Given that clock_gettime is available as a vDSO too, I see no reason not to use it instead of gettimeofday. It's clearly closer to the intent. Eventually, we'd like to create a TRACE_CLOCK version of clock_gettime that would return the same time base as LTTng. Thanks, Mathieu > > I'm guessing this has been asked before, but the mailing list doesn't > really lend itself to searching and there is no FAQ as far as I can tell. > > /Nils > > > > _______________________________________________ > ltt-dev mailing list > ltt-dev at lists.casi.polymtl.ca > http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev > -- Mathieu Desnoyers Operating System Efficiency R&D Consultant EfficiOS Inc. http://www.efficios.com