op_cpufreq.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include "op_fileio.h"
Include dependency graph for op_cpufreq.c:

Go to the source code of this file.

Functions

static double op_cpu_freq_cpuinfo (void)
static double op_cpu_freq_sys_devices (void)
double op_cpu_frequency (void)

Detailed Description

get cpu frequency definition

Remarks:
Copyright 2011 OProfile authors
Read the file COPYING
Author:
John Levon
Philippe Elie
Suravee Suthikulpanit

Definition in file op_cpufreq.c.


Function Documentation

static double op_cpu_freq_cpuinfo ( void   )  [static]

Definition at line 24 of file op_cpufreq.c.

References op_close_file(), op_get_line(), and op_try_open_file().

Referenced by op_cpu_frequency().

Here is the call graph for this function:

Here is the caller graph for this function:

static double op_cpu_freq_sys_devices ( void   )  [static]

Definition at line 83 of file op_cpufreq.c.

References op_close_file(), op_get_line(), and op_try_open_file().

Referenced by op_cpu_frequency().

Here is the call graph for this function:

Here is the caller graph for this function:

double op_cpu_frequency ( void   ) 

Definition at line 117 of file op_cpufreq.c.

References op_cpu_freq_cpuinfo(), and op_cpu_freq_sys_devices().

Referenced by main(), and opd_parse_events().

Here is the call graph for this function:

Here is the caller graph for this function:


Generated on 8 Nov 2012 for Oprofile by  doxygen 1.6.1