HomeSort by relevance Sort by last modified time
    Searched full:freq_path (Results 1 - 1 of 1) sorted by null

  /frameworks/av/media/libcpustats/
ThreadCpuUsage.cpp 219 char freq_path[FREQ_SIZE]; local
222 #define FREQ_PATH "/sys/devices/system/cpu/cpu?/cpufreq/scaling_cur_freq"
223 strlcpy(freq_path, FREQ_PATH, sizeof(freq_path));
224 freq_path[FREQ_DIGIT] = cpuNum + '0';
225 fd = open(freq_path, O_RDONLY | O_CLOEXEC);

Completed in 370 milliseconds