Home
last modified time | relevance | path

Searched refs:workload (Results 1 – 10 of 10) sorted by relevance

/system/extras/simpleperf/
Dworkload_test.cpp25 TEST(workload, success) { in TEST() argument
30 auto workload = Workload::CreateWorkload({"sleep", "1"}); in TEST() local
31 ASSERT_TRUE(workload != nullptr); in TEST()
32 ASSERT_TRUE(workload->GetPid() != 0); in TEST()
33 ASSERT_TRUE(workload->Start()); in TEST()
37 TEST(workload, execvp_failure) { in TEST() argument
38 auto workload = Workload::CreateWorkload({"/dev/null"}); in TEST() local
39 ASSERT_TRUE(workload != nullptr); in TEST()
40 ASSERT_FALSE(workload->Start()); in TEST()
49 auto workload = Workload::CreateWorkload({"sleep", "10"}); in run_signaled_workload() local
[all …]
Dworkload.cpp29 std::unique_ptr<Workload> workload(new Workload(args, std::function<void ()>())); in CreateWorkload() local
30 if (workload != nullptr && workload->CreateNewProcess()) { in CreateWorkload()
31 return workload; in CreateWorkload()
37 std::unique_ptr<Workload> workload(new Workload(std::vector<std::string>(), function)); in CreateWorkload() local
38 if (workload != nullptr && workload->CreateNewProcess()) { in CreateWorkload()
39 return workload; in CreateWorkload()
Dcmd_record.cpp308 bool PrepareRecording(Workload* workload);
309 bool DoRecording(Workload* workload);
419 std::unique_ptr<Workload> workload; in Run() local
421 workload = Workload::CreateWorkload(workload_args); in Run()
422 if (workload == nullptr) { in Run()
427 if (!PrepareRecording(workload.get())) { in Run()
431 if (!DoRecording(workload.get())) { in Run()
437 bool RecordCommand::PrepareRecording(Workload* workload) { in PrepareRecording() argument
474 if (workload != nullptr) { in PrepareRecording()
475 event_selection_set_.AddMonitoredProcesses({workload->GetPid()}); in PrepareRecording()
[all …]
Dcmd_stat.cpp502 std::unique_ptr<Workload> workload; in Run() local
504 workload = Workload::CreateWorkload(workload_args); in Run()
505 if (workload == nullptr) { in Run()
517 if (workload != nullptr) { in Run()
518 event_selection_set_.AddMonitoredProcesses({workload->GetPid()}); in Run()
614 if (workload != nullptr && !workload->Start()) { in Run()
Dcmd_stat_test.cpp111 std::unique_ptr<Workload> workload; in CreateProcesses() local
112 workload = Workload::CreateWorkload(RunWorkloadFunction); in CreateProcesses()
113 ASSERT_TRUE(workload != nullptr); in CreateProcesses()
114 ASSERT_TRUE(workload->Start()); in CreateProcesses()
115 workloads->push_back(std::move(workload)); in CreateProcesses()
Denvironment.cpp701 std::unique_ptr<Workload> workload = Workload::CreateWorkload(ChildProcFn); in RunCmdInApp() local
702 if (!workload) { in RunCmdInApp()
722 if (!workload->Start()) { in RunCmdInApp()
732 if (!workload->WaitChildProcess(&exit_code) || exit_code != 0) { in RunCmdInApp()
DAndroid.bp284 "workload.cpp",
/system/extras/tests/workloads/
Dpwrsummary.sh52 workload=$1
54 case $workload in
63 echo "Performance unit for $workload is: $units"
144 workload=$2
148 file=${workload}.out
149 powerfile=${workload}-power.out
169 case $workload in
205 workload=$1
208 case $workload in
/system/extras/ioshark/
DREADME1 IOshark is a repeatable application workload storage benchmark. You
37 Each IOshark workload file is composed of the following
50 /* Total number of files used in this IOshark workload file */
52 /* Total number of IO operations in this IOshark workload file */
/system/iorap/docs/binder/
DIIorap_setTaskListener.plantuml37 iorapd -> iorapd : workload in progress