Re: [PATCH 2/2] Add a thread cpu time implementation to vDSO

From: Arun Sharma
Date: Mon Dec 12 2011 - 19:26:49 EST


On 12/12/11 3:32 PM, john stultz wrote:

Is it just that you're concerned about the clockid switch costs being
too high?

Yeah - but I have no real-world data to back it up (I don't think micro benchmarks are a good way to analyze this).

clock_gettime_ns() may just be the right answer here.

-Arun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/