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

Go to the source code of this file.

Data Structures

struct  cpuid_core_info


int sysfs_topology_read_file (unsigned int cpu, const char *fname)
int get_cpu_topology (struct cpupower_topology *cpu_top)
void cpu_topology_release (struct cpupower_topology cpu_top)

Function Documentation

void cpu_topology_release ( struct cpupower_topology  cpu_top)

Definition at line 108 of file topology.c.

int get_cpu_topology ( struct cpupower_topology cpu_top)

Definition at line 74 of file topology.c.

int sysfs_topology_read_file ( unsigned int  cpu,
const char fname 

Definition at line 23 of file topology.c.