예제 #1
0
파일: cpufreq.c 프로젝트: femdom/cpufreq
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);
}
예제 #2
0
파일: cpufreq.c 프로젝트: 020gzh/linux
struct cpufreq_stats *cpufreq_get_stats(unsigned int cpu,
					unsigned long long *total_time)
{
	return sysfs_get_freq_stats(cpu, total_time);
}