Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Dworkload_test.cpp27 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()
47 auto workload = Workload::CreateWorkload({"sleep", "10"}); in run_signaled_workload() local
[all …]
Dworkload.cpp31 std::unique_ptr<Workload> workload(new Workload(args, std::function<void()>())); in CreateWorkload() local
32 if (workload != nullptr && workload->CreateNewProcess()) { in CreateWorkload()
33 return workload; in CreateWorkload()
39 std::unique_ptr<Workload> workload(new Workload(std::vector<std::string>(), function)); in CreateWorkload() local
40 if (workload != nullptr && workload->CreateNewProcess()) { in CreateWorkload()
41 return workload; in CreateWorkload()
Dcmd_stat.cpp499 std::unique_ptr<Workload> workload; in Run() local
501 workload = Workload::CreateWorkload(workload_args); in Run()
502 if (workload == nullptr) { in Run()
514 if (workload != nullptr) { in Run()
515 event_selection_set_.AddMonitoredProcesses({workload->GetPid()}); in Run()
605 if (workload != nullptr && !workload->Start()) { in Run()
Dcmd_record.cpp339 bool PrepareRecording(Workload* workload);
340 bool DoRecording(Workload* workload);
480 std::unique_ptr<Workload> workload; in Run() local
482 workload = Workload::CreateWorkload(workload_args); in Run()
483 if (workload == nullptr) { in Run()
487 if (!PrepareRecording(workload.get())) { in Run()
491 if (!DoRecording(workload.get())) { in Run()
497 bool RecordCommand::PrepareRecording(Workload* workload) { in PrepareRecording() argument
534 if (workload != nullptr) { in PrepareRecording()
535 event_selection_set_.AddMonitoredProcesses({workload->GetPid()}); in PrepareRecording()
[all …]
Dcmd_stat_test.cpp110 std::unique_ptr<Workload> workload; in CreateProcesses() local
111 workload = Workload::CreateWorkload(RunWorkloadFunction); in CreateProcesses()
112 ASSERT_TRUE(workload != nullptr); in CreateProcesses()
113 ASSERT_TRUE(workload->Start()); in CreateProcesses()
114 workloads->push_back(std::move(workload)); in CreateProcesses()
Denvironment.cpp627 std::unique_ptr<Workload> workload = Workload::CreateWorkload(ChildProcFn); in RunCmdInApp() local
628 if (!workload) { in RunCmdInApp()
650 if (!workload->Start()) { in RunCmdInApp()
660 if (!workload->WaitChildProcess(&exit_code) || exit_code != 0) { in RunCmdInApp()
DAndroid.bp259 "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/vold/bench/inodeop_bench/
Dinodeop_bench.cpp41 std::string workload; member
43 Metric(const std::string& workload, const time_unit& exec_time) in Metric()
44 : workload(workload), exec_time(exec_time) {} in Metric()
57 void collect_metric(const std::string& workload) { in collect_metric() argument
59 metrics.emplace_back(workload, std::chrono::duration_cast<time_unit>(elapsed)); in collect_metric()
64 std::cout << VERSION << ";" << metric.workload << ";" << metric.exec_time.count() << ";" in report_metrics()
76 std::string workload; member
89 string_repr << "\t.workload = " << workload << ",\n"; in to_string()
101 workload = ""; in reset()
306 collector->collect_metric(command.workload); in create_workload()
[all …]
/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