[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Make __getclktck return 100 for the Hurd
From: |
Samuel Thibault |
Subject: |
Re: [PATCH] Make __getclktck return 100 for the Hurd |
Date: |
Tue, 7 May 2013 00:29:37 +0200 |
User-agent: |
Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30) |
Richard Braun, le Mon 06 May 2013 21:49:56 +0200, a écrit :
> While it's true that Mach time values are returned in microseconds, they
> are correctly handled as such, and not as clock ticks, by applications.
> On the other hand, tools such as top provide wrong results since values
> in /proc are actually provided as true clock ticks.
That depends on whether the compatibility mode is enabled or not.
Ideally we would stick with announcing micro-second ticks, but I guess
it's not really reasonable to be different from Linux here; that is
causing more harm than good.
Samuel