Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
cpupower.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <errno.h>
#include "builtin.h"
#include "helpers/helpers.h"
#include "helpers/bitmask.h"

Go to the source code of this file.

Data Structures

struct  cmd_struct
 

Macros

#define ARRAY_SIZE(x)   (sizeof(x)/sizeof(x[0]))
 

Functions

int main (int argc, const char *argv[])
 

Variables

struct cpupower_cpu_info cpupower_cpu_info
 
int run_as_root
 
struct bitmaskcpus_chosen
 

Macro Definition Documentation

#define ARRAY_SIZE (   x)    (sizeof(x)/sizeof(x[0]))

Definition at line 26 of file cpupower.c.

Function Documentation

int main ( int  argc,
const char argv[] 
)

Definition at line 167 of file cpupower.c.

Variable Documentation

Definition at line 35 of file cpupower.c.

struct bitmask* cpus_chosen

Definition at line 38 of file cpupower.c.

int run_as_root

Definition at line 36 of file cpupower.c.