Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
time.h File Reference
#include <linux/types.h>

Go to the source code of this file.

Data Structures

struct  timespec
 
struct  timeval
 
struct  timezone
 
struct  itimerspec
 
struct  itimerval
 

Macros

#define _STRUCT_TIMESPEC
 
#define ITIMER_REAL   0
 
#define ITIMER_VIRTUAL   1
 
#define ITIMER_PROF   2
 
#define CLOCK_REALTIME   0
 
#define CLOCK_MONOTONIC   1
 
#define CLOCK_PROCESS_CPUTIME_ID   2
 
#define CLOCK_THREAD_CPUTIME_ID   3
 
#define CLOCK_MONOTONIC_RAW   4
 
#define CLOCK_REALTIME_COARSE   5
 
#define CLOCK_MONOTONIC_COARSE   6
 
#define CLOCK_BOOTTIME   7
 
#define CLOCK_REALTIME_ALARM   8
 
#define CLOCK_BOOTTIME_ALARM   9
 
#define CLOCK_SGI_CYCLE   10
 
#define MAX_CLOCKS   16
 
#define CLOCKS_MASK   (CLOCK_REALTIME | CLOCK_MONOTONIC)
 
#define CLOCKS_MONO   CLOCK_MONOTONIC
 
#define TIMER_ABSTIME   0x01
 

Macro Definition Documentation

#define _STRUCT_TIMESPEC

Definition at line 8 of file time.h.

#define CLOCK_BOOTTIME   7

Definition at line 54 of file time.h.

#define CLOCK_BOOTTIME_ALARM   9

Definition at line 56 of file time.h.

#define CLOCK_MONOTONIC   1

Definition at line 48 of file time.h.

#define CLOCK_MONOTONIC_COARSE   6

Definition at line 53 of file time.h.

#define CLOCK_MONOTONIC_RAW   4

Definition at line 51 of file time.h.

#define CLOCK_PROCESS_CPUTIME_ID   2

Definition at line 49 of file time.h.

#define CLOCK_REALTIME   0

Definition at line 47 of file time.h.

#define CLOCK_REALTIME_ALARM   8

Definition at line 55 of file time.h.

#define CLOCK_REALTIME_COARSE   5

Definition at line 52 of file time.h.

#define CLOCK_SGI_CYCLE   10

Definition at line 61 of file time.h.

#define CLOCK_THREAD_CPUTIME_ID   3

Definition at line 50 of file time.h.

#define CLOCKS_MASK   (CLOCK_REALTIME | CLOCK_MONOTONIC)

Definition at line 63 of file time.h.

#define CLOCKS_MONO   CLOCK_MONOTONIC

Definition at line 64 of file time.h.

#define ITIMER_PROF   2

Definition at line 32 of file time.h.

#define ITIMER_REAL   0

Definition at line 30 of file time.h.

#define ITIMER_VIRTUAL   1

Definition at line 31 of file time.h.

#define MAX_CLOCKS   16

Definition at line 62 of file time.h.

#define TIMER_ABSTIME   0x01

Definition at line 69 of file time.h.