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]
Date:	Wed, 18 Feb 2015 18:53:54 +0100
From:	Ingo Molnar <mingo@...nel.org>
To:	Stephane Eranian <eranian@...gle.com>
Cc:	linux-kernel@...r.kernel.org, acme@...hat.com,
	peterz@...radead.org, mingo@...e.hu, ak@...ux.intel.com,
	jolsa@...hat.com, namhyung@...nel.org, cel@...ibm.com,
	sukadev@...ux.vnet.ibm.com, sonnyrao@...omium.org,
	johnmccutchan@...gle.com, dsahern@...il.com,
	adrian.hunter@...el.com, pawell.moll@....com
Subject: Re: [PATCH v2 4/4] clock: add perf_clock posix clock


* Stephane Eranian <eranian@...gle.com> wrote:

> This patch is a re-packaging of David's Ahern
> posix perf clock available here:
> 
> 	https://github.com/dsahern/linux/blob/perf-full-monty/README.ahern
> 
> The patch itself is based on Pawel Moll's original post:
> 
> 	https://lkml.org/lkml/2013/3/14/523
> 
> The new clock is call PERF_CLOCK. To use it
> 
> 	#include <time.h>
> 	#include <linux/time.h>
> 
> 	struct timespec ts;
> 
> 	clock_gettime(PERF_CLOCK, &ts);

So what's the justification for this new clock, as opposed 
to say CLOCK_MONOTONIC?

Thanks,

	Ingo
--
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