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/errno.h>
#include <linux/module.h>
#include <linux/param.h>
#include <linux/jiffies.h>
#include <linux/bcd.h>
#include <linux/timex.h>
#include <linux/init.h>
#include <linux/profile.h>
#include <linux/sched.h>

Go to the source code of this file.

Macros

#define D(x)
 
#define TICK_SIZE   tick
 

Functions

int set_rtc_mmss (unsigned long nowtime)
 
unsigned long get_cmos_time (void)
 
int update_persistent_clock (struct timespec now)
 
void read_persistent_clock (struct timespec *ts)
 
void cris_profile_sample (struct pt_regs *regs)
 
void cris_do_profile (struct pt_regs *regs)
 
unsigned long long sched_clock (void)
 
 __initcall (init_udelay)
 

Variables

unsigned long loops_per_jiffy
 
unsigned long loops_per_usec
 

Macro Definition Documentation

#define D (   x)

Definition at line 35 of file time.c.

#define TICK_SIZE   tick

Definition at line 37 of file time.c.

Function Documentation

__initcall ( init_udelay  )
void cris_do_profile ( struct pt_regs regs)

Definition at line 81 of file time.c.

void cris_profile_sample ( struct pt_regs regs)

Definition at line 16 of file profile.c.

unsigned long get_cmos_time ( void  )

Definition at line 60 of file time.c.

void read_persistent_clock ( struct timespec ts)

Definition at line 71 of file time.c.

unsigned long long sched_clock ( void  )

Definition at line 93 of file time.c.

int set_rtc_mmss ( unsigned long  nowtime)

Definition at line 53 of file time.c.

int update_persistent_clock ( struct timespec  now)

Definition at line 66 of file time.c.

Variable Documentation

unsigned long loops_per_jiffy

Definition at line 94 of file processor.h.

unsigned long loops_per_usec

Definition at line 40 of file time.c.