From: Ralf Baechle <ralf@linux-mips.org>
To: Gilad Benjamini <yaelgilad@myrealbox.com>
Cc: linux-mips@linux-mips.org
Subject: Re: Getting Time Difference
Date: Fri, 17 Jan 2003 13:56:19 +0100 [thread overview]
Message-ID: <20030117135619.A8301@linux-mips.org> (raw)
In-Reply-To: <ECEPLLMMNGHMFBLHCLMAGEGDDIAA.yaelgilad@myrealbox.com>; from yaelgilad@myrealbox.com on Thu, Jan 16, 2003 at 06:48:09PM +0200
On Thu, Jan 16, 2003 at 06:48:09PM +0200, Gilad Benjamini wrote:
> I am porting code from a x86 platform.
> That code uses rdtsc and cpu_khz to compute
> the time difference between two events. Jiffies aren't good enough in this
> case.
>
> Looking through header files I can find a few MIPS replacements.
> What is the "right" one to use ?
>
> What is the best way to change the code so it can compile
> and run on both platforms ?
Try do_gettimeofday().
Ralf
next prev parent reply other threads:[~2003-01-17 12:56 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-16 16:48 Getting Time Difference Gilad Benjamini
2003-01-16 16:48 ` Gilad Benjamini
2003-01-17 12:56 ` Ralf Baechle [this message]
2003-01-20 19:50 ` Jun Sun
2003-01-20 20:15 ` Christoph Hellwig
2003-01-20 20:19 ` Jun Sun
2003-01-20 20:29 ` Christoph Hellwig
2003-01-20 20:48 ` Pete Popov
[not found] <328392AA673C0A49B54DABA457E37DAA08C300@exchange>
2003-01-21 18:13 ` Jun Sun
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=20030117135619.A8301@linux-mips.org \
--to=ralf@linux-mips.org \
--cc=linux-mips@linux-mips.org \
--cc=yaelgilad@myrealbox.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.