lkml.org 
[lkml]   [1998]   [Oct]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: ARMS WAVING!!! Proposal to fix /proc dainbrammage.
Hi there.

>>> Time formats:

>>> It seems to me that expressing the time constants in /proc would
>>> be as simple as:

>>> <seconds>.<microseconds>

>> Yes. Some of the stuff already does this (not microseconds, but
>> look at "uptime" for example.

> Noted, however this is only accurate to 1/100th of a second. I
> would rather be timeval compliant, as things like TCP timestamps
> and such utilize this. If we change the format, we should make
> everything compliant, even uptime.

Why not be sensible and specify times as decimal seconds, using as
many decimal places as are relevant?

Certainly, if I saw a time specified as 4.6 then I'd assume 4,600ms
rather than 4,006ms as appears to be proposed...

Best wishes from Riley.


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

\
 
 \ /
  Last update: 2005-03-22 13:45    [W:0.086 / U:0.280 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site