Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
timer.h File Reference
#include <linux/init.h>
#include <linux/pm.h>
#include <linux/percpu.h>
#include <linux/interrupt.h>

Go to the source code of this file.

Macros

#define TICK_SIZE   (tick_nsec / 1000)
 
#define CYC2NS_SCALE_FACTOR   10 /* 2^10, carefully chosen */
 

Functions

unsigned long long native_sched_clock (void)
 
int recalibrate_cpu_khz (void)
 
 DECLARE_PER_CPU (unsigned long, cyc2ns)
 
 DECLARE_PER_CPU (unsigned long long, cyc2ns_offset)
 

Variables

int no_timer_check
 

Macro Definition Documentation

#define CYC2NS_SCALE_FACTOR   10 /* 2^10, carefully chosen */

Definition at line 56 of file timer.h.

#define TICK_SIZE   (tick_nsec / 1000)

Definition at line 8 of file timer.h.

Function Documentation

DECLARE_PER_CPU ( unsigned  long,
cyc2ns   
)
DECLARE_PER_CPU ( unsigned long  long,
cyc2ns_offset   
)
unsigned long long native_sched_clock ( void  )

Definition at line 44 of file tsc.c.

int recalibrate_cpu_khz ( void  )

Definition at line 558 of file tsc.c.

Variable Documentation

int no_timer_check