Home
last modified time | relevance | path

Searched refs:ProcessInfo (Results 1 – 14 of 14) sorted by relevance

/external/chromium-trace/catapult/systrace/atrace_helper/jni/
Dprocess_info.cc16 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()
Dprocess_info.h14 class ProcessInfo {
25 explicit ProcessInfo(int pid);
49 ProcessInfo(const ProcessInfo&) = delete;
50 void operator=(const ProcessInfo&) = delete;
Dmain.cc23 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/
DProgram.cpp26 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/
DProgram.cpp26 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/
DProgram.h35 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/
DProgram.h35 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/
DProgramTest.cpp223 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/
DKillTheDoctor.cpp341 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/
DKillTheDoctor.cpp381 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/
DProgram.inc69 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/
DProgram.inc69 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/
DProgram.inc34 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/
DProgram.inc34 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();