Home
last modified time | relevance | path

Searched refs:CreateWorkload (Results 1 – 8 of 8) sorted by relevance

/system/extras/simpleperf/
Dworkload_test.cpp30 auto workload = Workload::CreateWorkload({"sleep", "1"}); in TEST()
38 auto workload = Workload::CreateWorkload({"/dev/null"}); in TEST()
47 auto workload = Workload::CreateWorkload({"sleep", "10"}); in run_signaled_workload()
66 auto workload = Workload::CreateWorkload({"ls", "nonexistdir"}); in run_exit_nonzero_workload()
Dworkload.h40 static std::unique_ptr<Workload> CreateWorkload(const std::vector<std::string>& args);
41 static std::unique_ptr<Workload> CreateWorkload(const std::function<void()>& function);
Dworkload.cpp33 std::unique_ptr<Workload> Workload::CreateWorkload(const std::vector<std::string>& args) { in CreateWorkload() function in simpleperf::Workload
47 std::unique_ptr<Workload> Workload::CreateWorkload(const std::function<void()>& function) { in CreateWorkload() function in simpleperf::Workload
Dtest_util.h180 app_start_proc_ = Workload::CreateWorkload(android::base::Split(start_cmd, " ")); in StartApp()
Dcmd_stat.cpp511 workload = Workload::CreateWorkload(workload_args); in Run()
757 auto workload = Workload::CreateWorkload({"sleep", "0.1"}); in CheckHardwareCountersOnCpu()
Dcmd_stat_test.cpp116 workload = Workload::CreateWorkload(RunWorkloadFunction); in CreateProcesses()
Denvironment.cpp638 std::unique_ptr<Workload> workload = Workload::CreateWorkload(ChildProcFn); in RunCmdInApp()
Dcmd_record.cpp552 workload = Workload::CreateWorkload(workload_args); in Run()