Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
time.c File Reference
#include <linux/module.h>
#include <linux/errno.h>
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/param.h>
#include <linux/string.h>
#include <linux/interrupt.h>
#include <linux/profile.h>
#include <linux/irq.h>
#include <linux/mm.h>
#include <asm/io.h>
#include <asm/timer-regs.h>
#include <asm/mb-regs.h>
#include <asm/mb86943a.h>
#include <linux/timex.h>

Go to the source code of this file.

Macros

#define TICK_SIZE   (tick_nsec / 1000)
 

Functions

void time_divisor_init (void)
 
void read_persistent_clock (struct timespec *ts)
 
void time_init (void)
 
unsigned long long sched_clock (void)
 

Variables

unsigned long __nongprelbss __clkin_clock_speed_HZ
 
unsigned long __nongprelbss __ext_bus_clock_speed_HZ
 
unsigned long __nongprelbss __res_bus_clock_speed_HZ
 
unsigned long __nongprelbss __sdram_clock_speed_HZ
 
unsigned long __nongprelbss __core_bus_clock_speed_HZ
 
unsigned long __nongprelbss __core_clock_speed_HZ
 
unsigned long __nongprelbss __dsu_clock_speed_HZ
 
unsigned long __nongprelbss __serial_clock_speed_HZ
 
unsigned long __delay_loops_MHz
 

Macro Definition Documentation

#define TICK_SIZE   (tick_nsec / 1000)

Definition at line 31 of file time.c.

Function Documentation

void read_persistent_clock ( struct timespec ts)

Definition at line 89 of file time.c.

unsigned long long sched_clock ( void  )

Definition at line 120 of file time.c.

void time_divisor_init ( void  )

Definition at line 72 of file time.c.

void time_init ( void  )

Definition at line 109 of file time.c.

Variable Documentation

unsigned long __nongprelbss __clkin_clock_speed_HZ

Definition at line 33 of file time.c.

unsigned long __nongprelbss __core_bus_clock_speed_HZ

Definition at line 37 of file time.c.

unsigned long __nongprelbss __core_clock_speed_HZ

Definition at line 38 of file time.c.

unsigned long __delay_loops_MHz

Definition at line 41 of file time.c.

unsigned long __nongprelbss __dsu_clock_speed_HZ

Definition at line 39 of file time.c.

unsigned long __nongprelbss __ext_bus_clock_speed_HZ

Definition at line 34 of file time.c.

unsigned long __nongprelbss __res_bus_clock_speed_HZ

Definition at line 35 of file time.c.

unsigned long __nongprelbss __sdram_clock_speed_HZ

Definition at line 36 of file time.c.

unsigned long __nongprelbss __serial_clock_speed_HZ

Definition at line 40 of file time.c.