Messages in this thread | | | Subject | Re: [RFC] perf: need to expose sched_clock to correlate user samples with kernel samples | From | Steven Rostedt <> | Date | Wed, 14 Nov 2012 18:30:16 -0500 |
| |
On Wed, 2012-11-14 at 14:26 -0800, John Stultz wrote:
> > There's also trace_clock_counter() which isn't even a clock :-) It's > > just a incremental atomic counter that goes up every time it's called. > > This is the most synced clock, but is absolutely meaningless for > > timestamps. It's just a way to show ordered events. > > Oof. This is getting uglier. I'd really prefer not to expose all these > different internal clocks out userland. Especially via clock_gettime().
Actually, I would be happy to just expose them to modules. As things like hwlat_detect could use them.
-- Steve
| |