public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: Kevin Diggs <kevdig@hypersurf•com>
To: linuxppc-dev@ozlabs•org
Subject: Re: get_cycles()
Date: Sun, 27 Apr 2008 03:35:54 -0700	[thread overview]
Message-ID: <48145709.9020809@hypersurf.com> (raw)
In-Reply-To: <20080426.202135.145326755.davem@davemloft.net>

David Miller wrote:
> From: Kevin Diggs <kevdig@hypersurf•com>
> Date: Sat, 26 Apr 2008 19:39:07 -0700
> 
> 
>>This looks pretty cool ... but I don't want to create a dependency on
>>hrtimer.
> 
> 
> It doesn't create such a dependency.
> 
> We use it unconditionally in the generic networking.
> 
> Please don't use platform specific interfaces if you don't have to.
> You're be insulated from so many things.
> 

I'm working on a cpufreq driver for the 750GX so I don't think I have to 
worry about being to platform specific.

Would a compile time configuration be a good idea (hrtimer or 
get_cycles() assisted timing)?

In the 2.4 code I just used a timer 2 ticks in the future to be certain 
I did not go under the 100 us PLL lock delay. I was trying to see if I 
could cut the latency down.

What about using OF? Isn't there a timebase property for the cpus?

Thoughts?

kevin

  reply	other threads:[~2008-04-27  9:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-26  7:54 get_cycles() Kevin Diggs
2008-04-26  7:11 ` get_cycles() David Miller
2008-04-27  2:39   ` get_cycles() Kevin Diggs
2008-04-27  3:21     ` get_cycles() David Miller
2008-04-27 10:35       ` Kevin Diggs [this message]
2008-04-28  4:38         ` get_cycles() Tony Breeds

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=48145709.9020809@hypersurf.com \
    --to=kevdig@hypersurf$(echo .)com \
    --cc=linuxppc-dev@ozlabs$(echo .)org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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