Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
loadavg.c File Reference
#include <linux/fs.h>
#include <linux/init.h>
#include <linux/pid_namespace.h>
#include <linux/proc_fs.h>
#include <linux/sched.h>
#include <linux/seq_file.h>
#include <linux/seqlock.h>
#include <linux/time.h>

Go to the source code of this file.

Macros

#define LOAD_INT(x)   ((x) >> FSHIFT)
 
#define LOAD_FRAC(x)   LOAD_INT(((x) & (FIXED_1-1)) * 100)
 

Functions

 module_init (proc_loadavg_init)
 

Macro Definition Documentation

#define LOAD_FRAC (   x)    LOAD_INT(((x) & (FIXED_1-1)) * 100)

Definition at line 11 of file loadavg.c.

#define LOAD_INT (   x)    ((x) >> FSHIFT)

Definition at line 10 of file loadavg.c.

Function Documentation

module_init ( proc_loadavg_init  )