History

timekeeping: Add CLOCK_TAI clockid

This add a CLOCK_TAI clockid and the needed accessors.

John Stultz committed 14 years ago

Commit 1ff3c961 parent cc244dd4 files · +43 −4Browse files

Showing the changes to include/uapi/linux (1 of 4 files). Show all

Unified · Split

include/uapi/linux/time.h+2−4
@@ -54,11 +54,9 @@ struct itimerval { · 53 unmodified lines
54#define CLOCK_BOOTTIME 754#define CLOCK_BOOTTIME 7
55#define CLOCK_REALTIME_ALARM 855#define CLOCK_REALTIME_ALARM 8
56#define CLOCK_BOOTTIME_ALARM 956#define CLOCK_BOOTTIME_ALARM 9
57#define CLOCK_SGI_CYCLE 10 /* Hardware specific */
58#define CLOCK_TAI 11
57 59
58/*
59 * The IDs of various hardware clocks:
60 */
61#define CLOCK_SGI_CYCLE 10
62#define MAX_CLOCKS 1660#define MAX_CLOCKS 16
63#define CLOCKS_MASK (CLOCK_REALTIME | CLOCK_MONOTONIC)61#define CLOCKS_MASK (CLOCK_REALTIME | CLOCK_MONOTONIC)
64#define CLOCKS_MONO CLOCK_MONOTONIC62#define CLOCKS_MONO CLOCK_MONOTONIC

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t