Home
last modified time | relevance | path

Searched refs:CreateWorkload (Results 1 – 7 of 7) 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
Dcmd_stat_test.cpp93 workload = Workload::CreateWorkload(RunWorkloadFunction); in CreateProcesses()
Dcmd_stat.cpp413 workload = Workload::CreateWorkload(workload_args); in Run()
Denvironment.cpp714 std::unique_ptr<Workload> workload = Workload::CreateWorkload(ChildProcFn); in RunCmdInApp()
Dcmd_record.cpp376 workload = Workload::CreateWorkload(workload_args); in Run()