Linux Kernel
3.7.1
|
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <signal.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <libgen.h>
#include "idle_monitor/cpupower-monitor.h"
#include "idle_monitor/idle_monitors.h"
#include "helpers/helpers.h"
#include "idle_monitors.def"
Go to the source code of this file.
Macros | |
#define | DEF(x) & x ## _monitor , |
Enumerations | |
enum | operation_mode_e { list = 1, show, show_all } |
Functions | |
long long | timespec_diff_us (struct timespec start, struct timespec end) |
void | print_n_spaces (int n) |
int | fill_string_with_spaces (char *s, int n) |
void | print_header (int topology_depth) |
void | print_results (int topology_depth, int cpu) |
void | list_monitors (void) |
int | fork_it (char **argv) |
int | do_interval_measure (int i) |
int | cmd_monitor (int argc, char **argv) |
Variables | |
struct cpuidle_monitor * | all_monitors [] |
Definition at line 26 of file cpupower-monitor.c.
enum operation_mode_e |
Definition at line 37 of file cpupower-monitor.c.
Definition at line 363 of file cpupower-monitor.c.
Definition at line 315 of file cpupower-monitor.c.
Definition at line 73 of file cpupower-monitor.c.
Definition at line 272 of file cpupower-monitor.c.
Definition at line 248 of file cpupower-monitor.c.
Definition at line 84 of file cpupower-monitor.c.
Definition at line 65 of file cpupower-monitor.c.
Definition at line 135 of file cpupower-monitor.c.
Definition at line 52 of file cpupower-monitor.c.
struct cpuidle_monitor* all_monitors[] |
Definition at line 27 of file cpupower-monitor.c.