In article <[email protected]>, Robert Elz <[email protected]> wrote: > Date: Fri, 13 Apr 2018 05:21:16 -0400 > From: "Christos Zoulas" <[email protected]> > Message-ID: <[email protected]> > > | src/sys/kern: subr_prf.c > > | make this narrower by popular request. > >Would it perhaps be reasonable to just print microseconds (or even >10's or 100's of microseconds) instead of nanoseconds ? > > n = snprintf(buf, sizeof(buf), "[% 5jd.%.6ld] ", > (intmax_t)ts.tv_sec, ts.tv_nsec / 1000); > >(or .5d and 10000 or .4d and 100000). And perhaps really >4jd instead of 5jd - once it is well past dmesg.boot range, it >doesn't matter nearly so much if occasionally the times don't >line up - from 4 -> 5 digits is 2:45 approx, from 5->6 is over a >day, and 11 1/2 days to switch to 7 digits.
I am fine with all. If the scale changes, we'll need to change dmesg... christos
