All of lore.kernel.org
 help / color / mirror / Atom feed
From: Timur Tabi <timur@freescale.com>
To: linuxppc-dev <linuxppc-dev@ozlabs.org>
Subject: Confused about CLOCK_TICK_RATE
Date: Thu, 12 Mar 2009 14:01:00 -0500	[thread overview]
Message-ID: <49B95BEC.2010404@freescale.com> (raw)

Can someone explain CLOCK_TICK_RATE to me?  It's defined in
arch/powerpc/include/asm/timex.h as such:

#define CLOCK_TICK_RATE	1024000 /* Underlying HZ */

Every architecture defines this, but some use the better comment
"Underlying frequency of the HZ timer".

My question is: why is this a constant? Shouldn't it be a variable,
perhaps something that is based on tb_ticks_per_usec?

-- 
Timur Tabi
Linux kernel developer at Freescale

             reply	other threads:[~2009-03-12 19:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-12 19:01 Timur Tabi [this message]
2009-03-18 18:34 ` Confused about CLOCK_TICK_RATE Scott Wood
2009-03-19  2:48 ` Paul Mackerras

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=49B95BEC.2010404@freescale.com \
    --to=timur@freescale.com \
    --cc=linuxppc-dev@ozlabs.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.