public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Eric Dumazet <dada1@cosmosbay.com>
To: Andi Kleen <ak@suse.de>
Cc: David Engraf <engraf.david@netcom-sicherheitstechnik.de>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Win32 equivalent to GetTickCount systemcall (i386)
Date: Tue, 06 Dec 2005 19:00:34 +0100	[thread overview]
Message-ID: <4395D1C2.2040909@cosmosbay.com> (raw)
In-Reply-To: <p73psoaqa5u.fsf@verdi.suse.de>

Andi Kleen a écrit :
> "David Engraf" <engraf.david@netcom-sicherheitstechnik.de> writes:
> 
>>times has only 10ms resolution, we need at least 1ms.
> 
> 
> It actually has jiffies resultion. Your measurements must have been
> quite off.

I beg to differ: times has a 10 ms resolution ( ie 1/USER_HZ)

times() is supposed to return clock_t expressed in USER_HZ, wich is still 100, 
regardless of the kernel HZ

I just checked sources and sys_times() do use jiffies_64_to_clock_t()

Eric

  reply	other threads:[~2005-12-06 18:00 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-06 10:36 [PATCH] Win32 equivalent to GetTickCount systemcall (i386) David Engraf
2005-12-06 10:44 ` Arjan van de Ven
2005-12-06 11:23   ` David Engraf
2005-12-06 11:29     ` Ingo Molnar
2005-12-06 12:06       ` David Engraf
2005-12-06 11:35     ` Arjan van de Ven
2005-12-06 11:37     ` Jakub Jelinek
2005-12-06 12:13     ` Bernd Petrovitsch
2005-12-06 12:26       ` David Engraf
2005-12-06 19:48         ` Andi Kleen
2005-12-06 18:00           ` Eric Dumazet [this message]
2005-12-06 18:01             ` Andi Kleen
2005-12-06 19:47 ` Andi Kleen
2005-12-06 15:25   ` AW: " David Engraf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4395D1C2.2040909@cosmosbay.com \
    --to=dada1@cosmosbay.com \
    --cc=ak@suse.de \
    --cc=engraf.david@netcom-sicherheitstechnik.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox