Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
timex.h File Reference

Go to the source code of this file.

Macros

#define PRESCALE_FREQ   25000000
 
#define PRESCALE_VALUE   1000
 
#define CLOCK_TICK_RATE   25000 /* Underlying frequency of the HZ timer */
 
#define TIMER0_FREQ   (CLOCK_TICK_RATE)
 
#define TIMER0_CLKSEL   flexible
 
#define TIMER0_DIV   (TIMER0_FREQ/(HZ))
 
#define GET_JIFFIES_USEC()   ( (TIMER0_DIV - *R_TIMER0_DATA) * (1000000/HZ)/TIMER0_DIV )
 

Functions

unsigned long get_ns_in_jiffie (void)
 

Macro Definition Documentation

#define CLOCK_TICK_RATE   25000 /* Underlying frequency of the HZ timer */

Definition at line 13 of file timex.h.

#define GET_JIFFIES_USEC ( )    ( (TIMER0_DIV - *R_TIMER0_DATA) * (1000000/HZ)/TIMER0_DIV )

Definition at line 20 of file timex.h.

#define PRESCALE_FREQ   25000000

Definition at line 11 of file timex.h.

#define PRESCALE_VALUE   1000

Definition at line 12 of file timex.h.

#define TIMER0_CLKSEL   flexible

Definition at line 16 of file timex.h.

#define TIMER0_DIV   (TIMER0_FREQ/(HZ))

Definition at line 17 of file timex.h.

#define TIMER0_FREQ   (CLOCK_TICK_RATE)

Definition at line 15 of file timex.h.

Function Documentation

unsigned long get_ns_in_jiffie ( void  )

Definition at line 28 of file time.c.