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_stat_test.cpp92 std::unique_ptr<Workload> workload; in CreateProcesses() local
93 workload = Workload::CreateWorkload(RunWorkloadFunction); in CreateProcesses()
94 ASSERT_TRUE(workload != nullptr); in CreateProcesses()
95 ASSERT_TRUE(workload->Start()); in CreateProcesses()
96 workloads->push_back(std::move(workload)); in CreateProcesses()
Dcmd_record.cpp267 bool PrepareRecording(Workload* workload);
268 bool DoRecording(Workload* workload);
374 std::unique_ptr<Workload> workload; in Run() local
376 workload = Workload::CreateWorkload(workload_args); in Run()
377 if (workload == nullptr) { in Run()
382 if (!PrepareRecording(workload.get())) { in Run()
386 if (!DoRecording(workload.get())) { in Run()
392 bool RecordCommand::PrepareRecording(Workload* workload) { in PrepareRecording() argument
429 if (workload != nullptr) { in PrepareRecording()
430 event_selection_set_.AddMonitoredProcesses({workload->GetPid()}); in PrepareRecording()
[all …]
Dcmd_stat.cpp411 std::unique_ptr<Workload> workload; in Run() local
413 workload = Workload::CreateWorkload(workload_args); in Run()
414 if (workload == nullptr) { in Run()
422 if (workload != nullptr) { in Run()
423 event_selection_set_.AddMonitoredProcesses({workload->GetPid()}); in Run()
517 if (workload != nullptr && !workload->Start()) { in Run()
Denvironment.cpp714 std::unique_ptr<Workload> workload = Workload::CreateWorkload(ChildProcFn); in RunCmdInApp() local
715 if (!workload) { in RunCmdInApp()
735 if (!workload->Start()) { in RunCmdInApp()
745 if (!workload->WaitChildProcess(&exit_code) || exit_code != 0) { in RunCmdInApp()
DAndroid.bp298 "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