Searched refs:getSysfsPath (Results 1 – 3 of 3) sorted by relevance
97 virtual std::string getSysfsPath(const std::string &path) { in getSysfsPath() function113 return getSysfsPath(name); in getProcessStatPath()
440 if (!ReadFileToUint(getSysfsPath(kIonTotalPoolsPathForLegacy), &res) || (res == 0)) { in getIonTotalPools()441 if (!ReadFileToUint(getSysfsPath(kIonTotalPoolsPath), &res)) { in getIonTotalPools()455 if (!ReadFileToUint(getSysfsPath(kGpuTotalPages), &gpu_size)) { in getGpuMemory()705 std::map<std::string, uint64_t> vmstat = readSysfsNameValue(getSysfsPath(kVmstatPath)); in genPixelMmMetricsPerHour()709 std::map<std::string, uint64_t> meminfo = readSysfsNameValue(getSysfsPath(kMeminfoPath)); in genPixelMmMetricsPerHour()755 std::map<std::string, uint64_t> vmstat = readSysfsNameValue(getSysfsPath(kVmstatPath)); in genPixelMmMetricsPerDay()760 readProcStat(getSysfsPath(kProcStatPath)); in genPixelMmMetricsPerDay()786 getSysfsPath(android::base::StringPrintf("%s/vmstat", kPixelStatMm).c_str())); in genPixelMmMetricsPerDay()961 if (!ReadFileToUint(getSysfsPath(path.c_str()), &file_contents)) in readCmaStat()975 std::string path(getSysfsPath(kCompactDuration)); in readCompactionDurationStat()[all …]
226 virtual std::string getSysfsPath(const std::string &path) { return path; } in getSysfsPath() function