#include <stdio.h>
#include <stdlib.h>
#include "op_fileio.h"
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) |
get cpu frequency definition
Definition in file op_cpufreq.c.
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().
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().
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().