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

Go to the source code of this file.

Macros

#define CLOCK_TICK_RATE   1000000
 
#define get_cycles_low()   __insn_mfspr(SPR_CYCLE) /* just get all 64 bits */
 

Typedefs

typedef unsigned long long cycles_t
 

Functions

cycles_t get_clock_rate (void)
 
cycles_t ns2cycles (unsigned long nsecs)
 
void setup_clock (void)
 
void setup_tile_timer (void)
 

Macro Definition Documentation

#define CLOCK_TICK_RATE   1000000

Definition at line 26 of file timex.h.

#define get_cycles_low ( )    __insn_mfspr(SPR_CYCLE) /* just get all 64 bits */

Definition at line 38 of file timex.h.

Typedef Documentation

typedef unsigned long long cycles_t

Definition at line 28 of file timex.h.

Function Documentation

cycles_t get_clock_rate ( void  )

Definition at line 40 of file time.c.

cycles_t ns2cycles ( unsigned long  nsecs)

Definition at line 231 of file time.c.

void setup_clock ( void  )

Definition at line 88 of file time.c.

void setup_tile_timer ( void  )

Definition at line 162 of file time.c.