Home
last modified time | relevance | path

Searched refs:GetPid (Results 1 – 9 of 9) sorted by relevance

/system/extras/simpleperf/
Dworkload_test.cpp33 ASSERT_TRUE(workload->GetPid() != 0); in TEST()
52 ASSERT_EQ(0, kill(workload->GetPid(), SIGKILL)); in run_signaled_workload()
Dcmd_record_test.cpp274 std::string pid = std::to_string(workloads[0]->GetPid()); in TEST()
311 std::string pid = std::to_string(workloads[0]->GetPid()); in TEST()
322 android::base::StringPrintf("%d,%d", workloads[0]->GetPid(), workloads[1]->GetPid()); in TEST()
332 android::base::StringPrintf("%d,%d", workloads[0]->GetPid(), workloads[1]->GetPid()); in TEST()
430 std::string pid = std::to_string(workloads[0]->GetPid()); in TEST()
525 std::string pid = std::to_string(workloads[0]->GetPid()); in TEST()
574 std::string pid = std::to_string(workloads[0]->GetPid()); in TEST()
685 std::string pid = std::to_string(workloads[0]->GetPid()); in TEST()
712 std::string pid = std::to_string(workloads[0]->GetPid()); in TEST()
742 std::string pid = std::to_string(workloads[0]->GetPid()); in TEST()
[all …]
Dworkload.h49 pid_t GetPid() { return work_pid_; } in GetPid() function
Dcmd_stat_test.cpp137 android::base::StringPrintf("%d,%d", workloads[0]->GetPid(), workloads[1]->GetPid()); in TEST()
147 android::base::StringPrintf("%d,%d", workloads[0]->GetPid(), workloads[1]->GetPid()); in TEST()
Dtest_util.cpp37 std::string pid = std::to_string(workloads[0]->GetPid()); in CanSampleRegsFor32BitABI()
Dworkload.cpp169 if (sched_setaffinity(GetPid(), sizeof(mask), &mask) != 0) { in SetCpuAffinity()
Dcmd_report_test.cpp716 std::string pid = std::to_string(workloads[0]->GetPid()); in TEST_F()
739 std::string pid = std::to_string(workloads[0]->GetPid()); in TEST_F()
Dcmd_stat.cpp546 event_selection_set_.AddMonitoredProcesses({workload->GetPid()}); in Run()
810 EventFd::OpenEventFile(attr, workload->GetPid(), cpu, group_event_fd, "cpu-cycles", false); in CheckHardwareCountersOnCpu()
Dcmd_record.cpp623 event_selection_set_.AddMonitoredProcesses({workload->GetPid()}); in PrepareRecording()