/external/chromium-trace/catapult/systrace/atrace_helper/jni/ |
D | process_info.cc | 16 ProcessInfo::ProcessInfo(int pid) : memory_(pid), pid_(pid) {} in ProcessInfo() function in ProcessInfo 18 bool ProcessInfo::IsProcess(int pid) { in IsProcess() 32 bool ProcessInfo::ReadProcessName() { in ReadProcessName() 53 bool ProcessInfo::ReadThreadNames() { in ReadThreadNames() 72 bool ProcessInfo::ReadOOMStats() { in ReadOOMStats() 92 bool ProcessInfo::ReadPageFaultsAndCPUTimeStats() { in ReadPageFaultsAndCPUTimeStats()
|
D | process_info.h | 14 class ProcessInfo { 25 explicit ProcessInfo(int pid); 49 ProcessInfo(const ProcessInfo&) = delete; 50 void operator=(const ProcessInfo&) = delete;
|
D | main.cc | 23 using ProcessMap = std::map<int, std::unique_ptr<ProcessInfo>>; 30 if (!ProcessInfo::IsProcess(pid)) in CollectStatsForAllProcs() 33 std::unique_ptr<ProcessInfo> pinfo(new ProcessInfo(pid)); in CollectStatsForAllProcs() 61 const ProcessInfo& pinfo = *it->second; in SerializeSnapshot()
|
/external/llvm/lib/Support/ |
D | Program.cpp | 26 static bool Execute(ProcessInfo &PI, StringRef Program, const char **args, 34 ProcessInfo PI; in ExecuteAndWait() 38 ProcessInfo Result = Wait( in ExecuteAndWait() 49 ProcessInfo sys::ExecuteNoWait(StringRef Program, const char **args, in ExecuteNoWait() 53 ProcessInfo PI; in ExecuteNoWait()
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | Program.cpp | 26 static bool Execute(ProcessInfo &PI, StringRef Program, const char **args, 34 ProcessInfo PI; in ExecuteAndWait() 38 ProcessInfo Result = Wait( in ExecuteAndWait() 49 ProcessInfo sys::ExecuteNoWait(StringRef Program, const char **args, in ExecuteNoWait() 53 ProcessInfo PI; in ExecuteNoWait()
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | Program.h | 35 struct ProcessInfo { struct 55 ProcessInfo(); argument 128 ProcessInfo 178 ProcessInfo Wait( 179 const ProcessInfo &PI, ///< The child process that should be waited on.
|
/external/llvm/include/llvm/Support/ |
D | Program.h | 35 struct ProcessInfo { struct 55 ProcessInfo(); argument 128 ProcessInfo 178 ProcessInfo Wait( 179 const ProcessInfo &PI, ///< The child process that should be waited on.
|
/external/llvm/unittests/Support/ |
D | ProgramTest.cpp | 223 ProcessInfo PI1 = ExecuteNoWait(Executable, argv, getEnviron(), nullptr, 0, in TEST_F() 226 ASSERT_NE(PI1.Pid, ProcessInfo::InvalidPid) << "Invalid process id"; in TEST_F() 234 ProcessInfo WaitResult = llvm::sys::Wait(PI1, 0, true, &Error); in TEST_F() 242 ProcessInfo PI2 = ExecuteNoWait(Executable, argv, getEnviron(), nullptr, 0, in TEST_F() 245 ASSERT_NE(PI2.Pid, ProcessInfo::InvalidPid) << "Invalid process id"; in TEST_F() 251 ProcessInfo WaitResult = llvm::sys::Wait(PI2, 0, false, &Error); in TEST_F() 305 ProcessInfo PI = ExecuteNoWait(Executable, argv, nullptr, nullptr, 0, in TEST() 307 ASSERT_EQ(PI.Pid, ProcessInfo::InvalidPid) in TEST()
|
/external/llvm/utils/KillTheDoctor/ |
D | KillTheDoctor.cpp | 341 PROCESS_INFORMATION ProcessInfo; in main() local 344 std::memset(&ProcessInfo, 0, sizeof(ProcessInfo)); in main() 360 &ProcessInfo); in main() 385 success = ::GetProcessTimes(ProcessInfo.hProcess, in main() 416 ::TerminateProcess(ProcessInfo.hProcess, -1); in main() 431 ::TerminateProcess(ProcessInfo.hProcess, -1); in main() 456 if (DebugEvent.dwProcessId == ProcessInfo.dwProcessId) in main()
|
/external/swiftshader/third_party/LLVM/utils/KillTheDoctor/ |
D | KillTheDoctor.cpp | 381 PROCESS_INFORMATION ProcessInfo; in main() local 384 std::memset(&ProcessInfo, 0, sizeof(ProcessInfo)); in main() 400 &ProcessInfo); in main() 425 success = ::GetProcessTimes(ProcessInfo.hProcess, in main() 456 ::TerminateProcess(ProcessInfo.hProcess, -1); in main() 470 ::TerminateProcess(ProcessInfo.hProcess, -1); in main() 495 if (DebugEvent.dwProcessId == ProcessInfo.dwProcessId) in main()
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/Unix/ |
D | Program.inc | 69 ProcessInfo::ProcessInfo() : Pid(0), ReturnCode(0) {} 181 static bool Execute(ProcessInfo &PI, StringRef Program, const char **args, 324 ProcessInfo sys::Wait(const ProcessInfo &PI, unsigned SecondsToWait, 347 ProcessInfo WaitResult;
|
/external/llvm/lib/Support/Unix/ |
D | Program.inc | 69 ProcessInfo::ProcessInfo() : Pid(0), ReturnCode(0) {} 181 static bool Execute(ProcessInfo &PI, StringRef Program, const char **args, 324 ProcessInfo sys::Wait(const ProcessInfo &PI, unsigned SecondsToWait, 347 ProcessInfo WaitResult;
|
/external/llvm/lib/Support/Windows/ |
D | Program.inc | 34 ProcessInfo::ProcessInfo() : ProcessHandle(0), Pid(0), ReturnCode(0) {} 252 static bool Execute(ProcessInfo &PI, StringRef Program, const char **args, 417 ProcessInfo sys::Wait(const ProcessInfo &PI, unsigned SecondsToWait, 428 ProcessInfo WaitResult = PI; 445 return ProcessInfo();
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/Windows/ |
D | Program.inc | 34 ProcessInfo::ProcessInfo() : ProcessHandle(0), Pid(0), ReturnCode(0) {} 252 static bool Execute(ProcessInfo &PI, StringRef Program, const char **args, 417 ProcessInfo sys::Wait(const ProcessInfo &PI, unsigned SecondsToWait, 428 ProcessInfo WaitResult = PI; 445 return ProcessInfo();
|