From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: andrew may <acmay@acmay.homeip.net>,
<linuxppc-embedded@lists.linuxppc.org>
Subject: Re: get_cycles/get_tbl on 405
Date: Fri, 24 Aug 2001 11:52:56 +0200 [thread overview]
Message-ID: <20010824095256.80@smtp.adsl.oleane.com> (raw)
In-Reply-To: <20010823185911.A3291@ecam.san.rr.com>
>I wanted to do some quick time measurements of some things on a driver
>running of the 405GP and I eneded up using get_tbl(). It seems like
>get_cycles should be the more standard way to get a tick count but
>it seems to return 0. I don't get the __ftr_fixup stuff in timex.h
>so I am not sure what it is trying to do differently from get_tbl.
The __ftr_fixup in timex.h adds a reference to this code in the
feature fixup section. This allow the code that access the TB to
be nop'ed out on CPUs that don't implement it (601)
Ben.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2001-08-24 9:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-24 1:59 get_cycles/get_tbl on 405 andrew may
2001-08-24 9:52 ` Benjamin Herrenschmidt [this message]
2001-08-25 2:35 ` Dan Malek
2001-08-25 7:35 ` acmay
2001-08-27 17:56 ` Dan Malek
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=20010824095256.80@smtp.adsl.oleane.com \
--to=benh@kernel.crashing.org \
--cc=acmay@acmay.homeip.net \
--cc=linuxppc-embedded@lists.linuxppc.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 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.