public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
* [patch] document CLOCK_MONOTONIC_COARSE
@ 2012-05-31 23:59 Andy Isaacson
       [not found] ` <20120531235955.GA18876-psgPW5cihnJWk0Htik3J/w@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Andy Isaacson @ 2012-05-31 23:59 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w,
	linux-man-u79uwXL29TY76Z2rM5mHXA

Let's try that again without using gmail.

-andy

commit 782f8fd7a4ecd601d46e13e6a55a04662bae2f27
Author: Andy Isaacson <adi-psgPW5cihnJWk0Htik3J/w@public.gmane.org>
Date:   Thu May 31 16:36:30 2012 -0700

    clock_getres.2: document CLOCK_MONOTONIC_COARSE

diff --git a/man2/clock_getres.2 b/man2/clock_getres.2
index 67713c7..01289d6 100644
--- a/man2/clock_getres.2
+++ b/man2/clock_getres.2
@@ -136,6 +136,13 @@ Similar to
 but provides access to a raw hardware-based time
 that is not subject to NTP adjustments.
 .TP
+.BR CLOCK_MONOTONIC_COARSE " (since Linux 2.6.32; Linux-specific)"
+.\" Added in commit da15cfdae03351c689736f8d142618592e3cebc3, John Stultz, Aug 19 2009
+Similar to
+.BR CLOCK_MONOTONIC ,
+but provides only the time at the most recent clock tick.  This can be
+faster to access.
+.TP
 .B CLOCK_PROCESS_CPUTIME_ID
 High-resolution per-process timer from the CPU.
 .TP
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [patch] document CLOCK_MONOTONIC_COARSE
       [not found] ` <20120531235955.GA18876-psgPW5cihnJWk0Htik3J/w@public.gmane.org>
@ 2012-06-02  9:49   ` Alexandre Bique
       [not found]     ` <CAP737o+rUezC4tiCra-qTiVL2XxbKJ7Z+9oeHrw6hCEkEX8Cyg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Alexandre Bique @ 2012-06-02  9:49 UTC (permalink / raw)
  To: Andy Isaacson
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w,
	linux-man-u79uwXL29TY76Z2rM5mHXA

On Fri, Jun 1, 2012 at 1:59 AM, Andy Isaacson <adi-psgPW5cihnJWk0Htik3J/w@public.gmane.org> wrote:
> +.BR CLOCK_MONOTONIC_COARSE " (since Linux 2.6.32; Linux-specific)"
> +.\" Added in commit da15cfdae03351c689736f8d142618592e3cebc3, John Stultz, Aug 19 2009

Is it necessary to specify the commit rev?

-- 
Alexandre Bique
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [patch] document CLOCK_MONOTONIC_COARSE
       [not found]     ` <CAP737o+rUezC4tiCra-qTiVL2XxbKJ7Z+9oeHrw6hCEkEX8Cyg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2012-06-04 18:02       ` Andy Isaacson
       [not found]         ` <CAE_FxDi3ecT8vJnJdeh_T1_2TaTdAWBn=iSb_Z_-EVMW9+6Wxw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Andy Isaacson @ 2012-06-04 18:02 UTC (permalink / raw)
  To: Alexandre Bique
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w,
	linux-man-u79uwXL29TY76Z2rM5mHXA

On Sat, Jun 2, 2012 at 2:49 AM, Alexandre Bique
<bique.alexandre-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> On Fri, Jun 1, 2012 at 1:59 AM, Andy Isaacson <adi-psgPW5cihnJWk0Htik3J/w@public.gmane.org> wrote:
> > +.BR CLOCK_MONOTONIC_COARSE " (since Linux 2.6.32; Linux-specific)"
> > +.\" Added in commit da15cfdae03351c689736f8d142618592e3cebc3, John Stultz, Aug 19 2009
>
> Is it necessary to specify the commit rev?

Speaking as a git user, it's much more helpful to provide the commitID
than to just provide committer+date as was done for other items in
this file.  It allows "git tag --contains da15cfdae" to find out what
release it was merged in, for example.

Is there any downside to having the commit hash in the comment?

-andy
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [patch] document CLOCK_MONOTONIC_COARSE
       [not found]         ` <CAE_FxDi3ecT8vJnJdeh_T1_2TaTdAWBn=iSb_Z_-EVMW9+6Wxw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2012-06-04 22:11           ` Alexandre Bique
  0 siblings, 0 replies; 4+ messages in thread
From: Alexandre Bique @ 2012-06-04 22:11 UTC (permalink / raw)
  To: Andy Isaacson
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w,
	linux-man-u79uwXL29TY76Z2rM5mHXA

On Mon, Jun 4, 2012 at 8:02 PM, Andy Isaacson <adi-psgPW5cihnJWk0Htik3J/w@public.gmane.org> wrote:
> On Sat, Jun 2, 2012 at 2:49 AM, Alexandre Bique
> <bique.alexandre-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>> On Fri, Jun 1, 2012 at 1:59 AM, Andy Isaacson <adi-psgPW5cihnJWk0Htik3J/w@public.gmane.org> wrote:
>> > +.BR CLOCK_MONOTONIC_COARSE " (since Linux 2.6.32; Linux-specific)"
>> > +.\" Added in commit da15cfdae03351c689736f8d142618592e3cebc3, John Stultz, Aug 19 2009
>>
>> Is it necessary to specify the commit rev?
>
> Speaking as a git user, it's much more helpful to provide the commitID
> than to just provide committer+date as was done for other items in
> this file.  It allows "git tag --contains da15cfdae" to find out what
> release it was merged in, for example.
>
> Is there any downside to having the commit hash in the comment?

I agree with you, it is convenient to have the commit revision when
you need to dig into Linux source code.

-- 
Alexandre Bique
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-06-04 22:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-31 23:59 [patch] document CLOCK_MONOTONIC_COARSE Andy Isaacson
     [not found] ` <20120531235955.GA18876-psgPW5cihnJWk0Htik3J/w@public.gmane.org>
2012-06-02  9:49   ` Alexandre Bique
     [not found]     ` <CAP737o+rUezC4tiCra-qTiVL2XxbKJ7Z+9oeHrw6hCEkEX8Cyg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-06-04 18:02       ` Andy Isaacson
     [not found]         ` <CAE_FxDi3ecT8vJnJdeh_T1_2TaTdAWBn=iSb_Z_-EVMW9+6Wxw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-06-04 22:11           ` Alexandre Bique

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox