Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: John Stultz <john.stultz <at> linaro.org>
Subject: [PATCH 0/5] Introduce CLOCK_BOOTTIME
Newsgroups: gmane.linux.kernel
Date: Wednesday 16th February 2011 04:20:02 UTC (over 5 years ago)
This patch set (applies against tip/timers/core) extends the
hrtimer, timekeeping, and posix-timer code to support a new 
clockid: CLOCK_BOOTTIME.

CLOCK_BOOTTIME is identical to CLOCK_MONOTONIC, except it also
includes any time spent in suspend (as currently measured by
read_persistent_clock()). This allows applications to get a
suspend aware monotonic clock.

Thomas, I've included your suggestions from the last round.
Does this look like something you could queue for 2.6.39?

thanks
-john


CC: Jamie Lokier <[email protected]>
CC: Thomas Gleixner 
CC: Alexander Shishkin 
CC: Arve Hjønnevåg 

John Stultz (5):
  hrtimers: extend hrtimer base code to handle more then 2 clockids
  time: Introduce get_monotonic_boottime and ktime_get_boottime
  time: Extend get_xtime_and_monotonic_offset() to also return sleep
  timers: Add CLOCK_BOOTTIME hrtimer base
  timers: Export CLOCK_BOOTTIME via the posix timers interface

 include/linux/hrtimer.h   |    8 +++++-
 include/linux/time.h      |    5 +++-
 kernel/hrtimer.c          |   63
++++++++++++++++++++++++++++++--------------
 kernel/posix-timers.c     |   21 ++++++++++++++-
 kernel/time/timekeeping.c |   56 ++++++++++++++++++++++++++++++++++++++-
 5 files changed, 128 insertions(+), 25 deletions(-)

-- 
1.7.3.2.146.gca209
 
CD: 3ms