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
5454 #define CLOCK_BOOTTIME 7
5555 #define CLOCK_REALTIME_ALARM 8
5656 #define CLOCK_BOOTTIME_ALARM 9
57+#define CLOCK_SGI_CYCLE 10 /* Hardware specific */
58+#define CLOCK_TAI 11
5759
58−/*
59− * The IDs of various hardware clocks:
60− */
61−#define CLOCK_SGI_CYCLE 10
6260 #define MAX_CLOCKS 16
6361 #define CLOCKS_MASK (CLOCK_REALTIME | CLOCK_MONOTONIC)
6462 #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