Searched refs:ReadProcFile (Results 1 – 5 of 5) sorted by relevance
/external/libchrome/base/process/ |
D | internal_linux.cc | 53 bool ReadProcFile(const FilePath& file, std::string* buffer) { in ReadProcFile() function 67 return ReadProcFile(stat_file, buffer); in ReadProcStats() 139 if (!ReadProcFile(stat_file, &stats_data)) in ReadStatFileAndGetFieldAsInt64() 171 if (!ReadProcFile(path, &contents)) in GetBootTime() 187 if (!ReadProcFile(path, &contents)) in GetUserCpuTimeSinceBoot()
|
/external/chromium-trace/catapult/systrace/atrace_helper/jni/ |
D | process_memory_stats.cc | 42 if (file_utils::ReadProcFile(pid, "statm", buf, sizeof(buf)) <= 0) in ReadLightStats() 56 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
|