Home
last modified time | relevance | path

Searched refs:workload (Results 1 – 8 of 8) 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.cpp28 std::unique_ptr<Workload> workload(new Workload(args, std::function<void ()>())); in CreateWorkload() local
29 if (workload != nullptr && workload->CreateNewProcess()) { in CreateWorkload()
30 return workload; in CreateWorkload()
36 std::unique_ptr<Workload> workload(new Workload(std::vector<std::string>(), function)); in CreateWorkload() local
37 if (workload != nullptr && workload->CreateNewProcess()) { in CreateWorkload()
38 return workload; in CreateWorkload()
Dcmd_stat_test.cpp69 auto workload = Workload::CreateWorkload(function); in CreateProcesses() local
70 ASSERT_TRUE(workload != nullptr); in CreateProcesses()
71 ASSERT_TRUE(workload->Start()); in CreateProcesses()
72 workloads->push_back(std::move(workload)); in CreateProcesses()
Dcmd_stat.cpp345 std::unique_ptr<Workload> workload; in Run() local
347 workload = Workload::CreateWorkload(workload_args); in Run()
348 if (workload == nullptr) { in Run()
356 if (workload != nullptr) { in Run()
357 event_selection_set_.AddMonitoredProcesses({workload->GetPid()}); in Run()
432 if (workload != nullptr && !workload->Start()) { in Run()
Dcmd_record.cpp248 std::unique_ptr<Workload> workload; in Run() local
250 workload = Workload::CreateWorkload(workload_args); in Run()
251 if (workload == nullptr) { in Run()
259 if (workload != nullptr) { in Run()
260 event_selection_set_.AddMonitoredProcesses({workload->GetPid()}); in Run()
265 if (!workload->Start()) { in Run()
321 if (workload != nullptr && !workload->IsStarted() && !workload->Start()) { in Run()
DAndroid.mk118 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