Home
last modified time | relevance | path

Searched refs:ReadProcFile (Results 1 – 6 of 6) sorted by relevance

/external/libchrome/base/process/
Dinternal_linux.cc58 bool ReadProcFile(const FilePath& file, std::string* buffer) { in ReadProcFile() function
72 return ReadProcFile(stat_file, buffer); in ReadProcStats()
144 if (!ReadProcFile(stat_file, &stats_data)) in ReadStatFileAndGetFieldAsInt64()
176 if (!ReadProcFile(path, &contents)) in GetBootTime()
192 if (!ReadProcFile(path, &contents)) in GetUserCpuTimeSinceBoot()
Dinternal_aix.cc60 bool ReadProcFile(const FilePath& file, struct psinfo* info) { in ReadProcFile() function
81 return ReadProcFile(stat_file, info); in ReadProcStats()
/external/chromium-trace/catapult/systrace/atrace_helper/jni/
Dprocess_memory_stats.cc43 if (file_utils::ReadProcFile(pid, "statm", buf, sizeof(buf)) <= 0) in ReadLightStats()
57 ssize_t rsize = file_utils::ReadProcFile(pid, "smaps", &buf[0], kBufSize); in ReadFullStats()
Dprocfs_utils.cc14 using file_utils::ReadProcFile;
49 ssize_t rsize = ReadProcFile(pid, "status", buf, sizeof(buf)); in ReadTgid()
Dfile_utils.h45 ssize_t ReadProcFile(int pid, const char* proc_file, char* buf, size_t length);
Dfile_utils.cc79 ssize_t ReadProcFile(int pid, const char* proc_file, char* buf, size_t length) { in ReadProcFile() function