Ejemplo n.º 1
0
struct cpufreq_stats *cpufreq_get_stats(unsigned int cpu,
                                        unsigned long long *total_time)
{
  if (cpu >= MAX_CPUS) {
    errno = ENOENT;
    return NULL;
  }

  return sysfs_get_freq_stats(cpu, total_time);
}
Ejemplo n.º 2
0
struct cpufreq_stats *cpufreq_get_stats(unsigned int cpu,
					unsigned long long *total_time)
{
	return sysfs_get_freq_stats(cpu, total_time);
}