Home
last modified time | relevance | path

Searched refs:getSysfsPath (Results 1 – 3 of 3) sorted by relevance

/hardware/google/pixel/pixelstats/test/mm/
DMockMmMetricsReporter.h87 virtual std::string getSysfsPath(const std::string &path) { in getSysfsPath() function
93 return getSysfsPath(name); in getProcessStatPath()
/hardware/google/pixel/pixelstats/
DMmMetricsReporter.cpp398 if (!ReadFileToUint(getSysfsPath(kIonTotalPoolsPathForLegacy), &res) || (res == 0)) { in getIonTotalPools()
399 if (!ReadFileToUint(getSysfsPath(kIonTotalPoolsPath), &res)) { in getIonTotalPools()
413 if (!ReadFileToUint(getSysfsPath(kGpuTotalPages), &gpu_size)) { in getGpuMemory()
639 std::map<std::string, uint64_t> vmstat = readSysfsNameValue(getSysfsPath(kVmstatPath)); in genPixelMmMetricsPerHour()
643 std::map<std::string, uint64_t> meminfo = readSysfsNameValue(getSysfsPath(kMeminfoPath)); in genPixelMmMetricsPerHour()
681 std::map<std::string, uint64_t> vmstat = readSysfsNameValue(getSysfsPath(kVmstatPath)); in genPixelMmMetricsPerDay()
686 readProcStat(getSysfsPath(kProcStatPath)); in genPixelMmMetricsPerDay()
712 getSysfsPath(android::base::StringPrintf("%s/vmstat", kPixelStatMm).c_str())); in genPixelMmMetricsPerDay()
887 if (!ReadFileToUint(getSysfsPath(path.c_str()), &file_contents)) in readCmaStat()
901 std::string path(getSysfsPath(kCompactDuration)); in readCompactionDurationStat()
[all …]
/hardware/google/pixel/pixelstats/include/pixelstats/
DMmMetricsReporter.h171 virtual std::string getSysfsPath(const std::string &path) { return path; } in getSysfsPath() function