lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.00.0912110802250.32415@router.home>
Date:	Fri, 11 Dec 2009 08:06:39 -0600 (CST)
From:	Christoph Lameter <cl@...ux-foundation.org>
To:	Ioannis Kyriakopoulos <johnkyr83@...mail.com>
cc:	linux-kernel@...r.kernel.org
Subject: Re: Finding and chaniging registered clocksources

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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ