Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Functions
cputime.h File Reference
#include <linux/types.h>
#include <linux/percpu.h>
#include <linux/spinlock.h>
#include <asm/div64.h>

Go to the source code of this file.

Data Structures

struct  s390_idle_data
 

Macros

#define __ARCH_HAS_VTIME_ACCOUNT
 
#define cputime_one_jiffy   jiffies_to_cputime(1)
 
#define usecs_to_cputime64(m)   usecs_to_cputime(m)
 
#define arch_idle_time(cpu)   s390_get_idle_time(cpu)
 
#define arch_needs_cpu(cpu)   s390_nohz_delay(cpu)
 

Typedefs

typedef unsigned long long __nocast cputime_t
 
typedef unsigned long long __nocast cputime64_t
 

Functions

 DECLARE_PER_CPU (struct s390_idle_data, s390_idle)
 
cputime64_t s390_get_idle_time (int cpu)
 

Macro Definition Documentation

#define __ARCH_HAS_VTIME_ACCOUNT

Definition at line 16 of file cputime.h.

#define arch_idle_time (   cpu)    s390_get_idle_time(cpu)

Definition at line 185 of file cputime.h.

#define arch_needs_cpu (   cpu)    s390_nohz_delay(cpu)

Definition at line 192 of file cputime.h.

#define cputime_one_jiffy   jiffies_to_cputime(1)

Definition at line 36 of file cputime.h.

#define usecs_to_cputime64 (   m)    usecs_to_cputime(m)

Definition at line 76 of file cputime.h.

Typedef Documentation

typedef unsigned long long __nocast cputime64_t

Definition at line 21 of file cputime.h.

typedef unsigned long long __nocast cputime_t

Definition at line 20 of file cputime.h.

Function Documentation

DECLARE_PER_CPU ( struct s390_idle_data  ,
s390_idle   
)
cputime64_t s390_get_idle_time ( int  cpu)

Definition at line 176 of file vtime.c.