Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
clock.c File Reference
#include <linux/spinlock.h>
#include <linux/hardirq.h>
#include <linux/export.h>
#include <linux/percpu.h>
#include <linux/ktime.h>
#include <linux/sched.h>

Go to the source code of this file.

Functions

unsigned long long __attribute__ ((weak))
 
 EXPORT_SYMBOL_GPL (sched_clock)
 
void sched_clock_init (void)
 
u64 sched_clock_cpu (int cpu)
 
u64 cpu_clock (int cpu)
 
u64 local_clock (void)
 
 EXPORT_SYMBOL_GPL (cpu_clock)
 
 EXPORT_SYMBOL_GPL (local_clock)
 

Variables

__read_mostly int sched_clock_running
 

Function Documentation

unsigned long long __attribute__ ( (weak)  )
read

Definition at line 75 of file clock.c.

u64 cpu_clock ( int  cpu)

Definition at line 337 of file clock.c.

EXPORT_SYMBOL_GPL ( sched_clock  )
EXPORT_SYMBOL_GPL ( cpu_clock  )
EXPORT_SYMBOL_GPL ( local_clock  )
u64 local_clock ( void  )

Definition at line 342 of file clock.c.

u64 sched_clock_cpu ( int  cpu)

Definition at line 329 of file clock.c.

void sched_clock_init ( void  )

Definition at line 324 of file clock.c.

Variable Documentation

__read_mostly int sched_clock_running

Definition at line 82 of file clock.c.