Re: [Patch 5/6] statistics infrastructure
From: Andrew Morton
Date: Tue May 30 2006 - 15:14:35 EST
On Tue, 30 May 2006 19:17:19 +0200
Martin Peschke <mp3@xxxxxxxxxx> wrote:
> Would I get away with making printk_clock() a timestamp_clock() that
> should be used by anyone exporting nsec_to_timestamp()-formated time
> stamps to user space, including me?
>
> I would then continue to see the use of sched_clock() in printk_clock()
> ... aehm timestamp_clock() as somebody else's problem (or at least
> as a subordinate problem).
Sure, a generic kernel-wide nsec-resolution timestamp_clock() makes sense
to me.
The default implementation can use sched_clock() but arch maintainers
can/should override it (vai attribute-weak) and do somethnig better.
-
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/