Searched refs:ReadProcFile (Results 1 – 6 of 6) sorted by relevance
/external/libchrome/base/process/ |
D | internal_linux.cc | 58 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()
|
D | internal_aix.cc | 60 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/ |
D | process_memory_stats.cc | 43 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()
|
D | procfs_utils.cc | 14 using file_utils::ReadProcFile; 49 ssize_t rsize = ReadProcFile(pid, "status", buf, sizeof(buf)); in ReadTgid()
|
D | file_utils.h | 45 ssize_t ReadProcFile(int pid, const char* proc_file, char* buf, size_t length);
|
D | file_utils.cc | 79 ssize_t ReadProcFile(int pid, const char* proc_file, char* buf, size_t length) { in ReadProcFile() function
|