Re: CONFIG_PRINTK_TIME woes

From: Andrew Morton
Date: Mon Aug 22 2005 - 17:40:57 EST


tony.luck@xxxxxxxxx wrote:
>
> >How fast is printk? I haven't looked.
> >
> >ie: if you do back-to-back printk's, what's the timestamp increment?
>
> On ia64 it looks like about 4-5 usec increment for back-to-back
> printk (with no serial console configured, and dmesg -n to turn
> off messages to the VGA console).
>

Ah, thanks. Presumably it'll be considerably longer with %d's and %s's in
there. But still, ~10 usecs is good resolution for I/O operations.
-
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/