Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
menu.c File Reference
#include <linux/kernel.h>
#include <linux/cpuidle.h>
#include <linux/pm_qos.h>
#include <linux/time.h>
#include <linux/ktime.h>
#include <linux/hrtimer.h>
#include <linux/tick.h>
#include <linux/sched.h>
#include <linux/math64.h>
#include <linux/module.h>

Go to the source code of this file.

Data Structures

struct  menu_device
 

Macros

#define BUCKETS   12
 
#define INTERVALS   8
 
#define RESOLUTION   1024
 
#define DECAY   8
 
#define MAX_INTERESTING   50000
 
#define STDDEV_THRESH   400
 
#define LOAD_INT(x)   ((x) >> FSHIFT)
 
#define LOAD_FRAC(x)   LOAD_INT(((x) & (FIXED_1-1)) * 100)
 

Functions

 MODULE_LICENSE ("GPL")
 
 module_init (init_menu)
 
 module_exit (exit_menu)
 

Macro Definition Documentation

#define BUCKETS   12

Definition at line 24 of file menu.c.

#define DECAY   8

Definition at line 27 of file menu.c.

#define INTERVALS   8

Definition at line 25 of file menu.c.

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

Definition at line 127 of file menu.c.

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

Definition at line 126 of file menu.c.

#define MAX_INTERESTING   50000

Definition at line 28 of file menu.c.

#define RESOLUTION   1024

Definition at line 26 of file menu.c.

#define STDDEV_THRESH   400

Definition at line 29 of file menu.c.

Function Documentation

module_exit ( exit_menu  )
module_init ( init_menu  )
MODULE_LICENSE ( "GPL"  )