Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753295AbbBRRyA (ORCPT ); Wed, 18 Feb 2015 12:54:00 -0500 Received: from mail-wg0-f52.google.com ([74.125.82.52]:54736 "EHLO mail-wg0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752136AbbBRRx7 (ORCPT ); Wed, 18 Feb 2015 12:53:59 -0500 Date: Wed, 18 Feb 2015 18:53:54 +0100 From: Ingo Molnar To: Stephane Eranian Cc: linux-kernel@vger.kernel.org, acme@redhat.com, peterz@infradead.org, mingo@elte.hu, ak@linux.intel.com, jolsa@redhat.com, namhyung@kernel.org, cel@us.ibm.com, sukadev@linux.vnet.ibm.com, sonnyrao@chromium.org, johnmccutchan@google.com, dsahern@gmail.com, adrian.hunter@intel.com, pawell.moll@arm.com Subject: Re: [PATCH v2 4/4] clock: add perf_clock posix clock Message-ID: <20150218175354.GA31963@gmail.com> References: <1424280109-9801-1-git-send-email-eranian@google.com> <1424280109-9801-5-git-send-email-eranian@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1424280109-9801-5-git-send-email-eranian@google.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 819 Lines: 32 * Stephane Eranian 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 > #include > > 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/