From: Christoph Lameter <cl@linux-foundation.org>
To: Ioannis Kyriakopoulos <johnkyr83@hotmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Finding and chaniging registered clocksources
Date: Fri, 11 Dec 2009 08:06:39 -0600 (CST) [thread overview]
Message-ID: <alpine.DEB.2.00.0912110802250.32415@router.home> (raw)
In-Reply-To: <SNT111-DS372EC73016B4FB39E0ACAA78C0@phx.gbl>
On Fri, 11 Dec 2009, Ioannis Kyriakopoulos wrote:
> However, I don't know how to found out what clocksource Linux has assigned
> for other activities apart from the one mentioned (e.g. for timekeeping) and
> how to change it, if possible.
Depends on the subsystem. Code can use time sources as needed but in
general the standard clock is used as a common time base.
> For example, I want to find out which clocksource getnstimeofday() is using.
> It could be also useful if there is a way to see all the registered
> clocksources in the system.
getnstimeofday uses the syste, cllock that can be retrieved using
/sys/devices/system/clocksource/clocksource0/current_clocksource
next prev parent reply other threads:[~2009-12-11 14:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-11 13:38 Ioannis Kyriakopoulos
2009-12-11 14:06 ` Christoph Lameter [this message]
2009-12-11 14:27 ` Ioannis Kyriakopoulos
2009-12-11 14:42 ` Christoph Lameter
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=alpine.DEB.2.00.0912110802250.32415@router.home \
--to=cl@linux-foundation.org \
--cc=johnkyr83@hotmail.com \
--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
all inboxes | Powered by JetHome®