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()
49 auto workload = Workload::CreateWorkload({"sleep", "10"}); in run_signaled_workload()
70 auto workload = Workload::CreateWorkload({"ls", "nonexistdir"}); in run_exit_nonzero_workload()
Dworkload.h38 static std::unique_ptr<Workload> CreateWorkload(const std::vector<std::string>& args);
39 static std::unique_ptr<Workload> CreateWorkload(const std::function<void ()>& function);
Dworkload.cpp28 std::unique_ptr<Workload> Workload::CreateWorkload(const std::vector<std::string>& args) { in CreateWorkload() function in Workload
36 std::unique_ptr<Workload> Workload::CreateWorkload(const std::function<void ()>& function) { in CreateWorkload() function in Workload
Dtest_util.h160 app_start_proc_ = Workload::CreateWorkload(android::base::Split(start_cmd, " ")); in StartApp()
Dcmd_stat_test.cpp112 workload = Workload::CreateWorkload(RunWorkloadFunction); in CreateProcesses()
Dcmd_stat.cpp504 workload = Workload::CreateWorkload(workload_args); in Run()
Denvironment.cpp701 std::unique_ptr<Workload> workload = Workload::CreateWorkload(ChildProcFn); in RunCmdInApp()
Dcmd_record.cpp421 workload = Workload::CreateWorkload(workload_args); in Run()