Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
cpuidle_sysfs.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include <limits.h>
#include "helpers/sysfs.h"
#include "helpers/helpers.h"
#include "idle_monitor/cpupower-monitor.h"

Go to the source code of this file.

Macros

#define CPUIDLE_STATES_MAX   10
 

Functions

void fix_up_intel_idle_driver_name (char *tmp, int num)
 
void cpuidle_unregister (void)
 

Variables

struct cpuidle_monitor cpuidle_sysfs_monitor
 
struct timespec start_time
 

Macro Definition Documentation

#define CPUIDLE_STATES_MAX   10

Definition at line 18 of file cpuidle_sysfs.c.

Function Documentation

void cpuidle_unregister ( void  )

Definition at line 175 of file cpuidle_sysfs.c.

void fix_up_intel_idle_driver_name ( char tmp,
int  num 
)

Definition at line 81 of file cpuidle_sysfs.c.

Variable Documentation

struct cpuidle_monitor cpuidle_sysfs_monitor
Initial value:
= {
.name = "Idle_Stats",
.hw_states = cpuidle_cstates,
.start = cpuidle_start,
.stop = cpuidle_stop,
.do_register = cpuidle_register,
.unregister = cpuidle_unregister,
.needs_root = 0,
.overflow_s = UINT_MAX,
}

Definition at line 20 of file cpuidle_sysfs.c.

struct timespec start_time

Definition at line 24 of file cpuidle_sysfs.c.