/system/extras/simpleperf/ |
workload_test.cpp | 23 #include "workload.h" 25 TEST(workload, success) { 30 auto workload = Workload::CreateWorkload({"sleep", "1"}); local 31 ASSERT_TRUE(workload != nullptr); 32 ASSERT_TRUE(workload->GetPid() != 0); 33 ASSERT_TRUE(workload->Start()); 37 TEST(workload, execvp_failure) { 38 auto workload = Workload::CreateWorkload({"/dev/null"}) local 49 auto workload = Workload::CreateWorkload({"sleep", "10"}); local 70 auto workload = Workload::CreateWorkload({"ls", "nonexistdir"}); local [all...] |
workload.cpp | 17 #include "workload.h" 28 std::unique_ptr<Workload> Workload::CreateWorkload(const std::vector<std::string>& args) { 29 std::unique_ptr<Workload> workload(new Workload(args, std::function<void ()>())); 30 if (workload != nullptr && workload->CreateNewProcess()) { 31 return workload; 36 std::unique_ptr<Workload> Workload::CreateWorkload(const std::function<void ()>& function) [all...] |
cmd_stat_test.cpp | 66 std::vector<std::unique_ptr<Workload>>* workloads) { 70 std::unique_ptr<Workload> workload; local 72 workload = Workload::CreateWorkload(RunWorkloadFunction); 74 workload = Workload::CreateWorkload({"run-as", GetDefaultAppPackageName(), "./workload"}); 75 workload->SetKillFunction([](pid_t pid) { 76 Workload::RunCmd({"run-as", GetDefaultAppPackageName(), "kill", std::to_string(pid)}) [all...] |
/cts/tests/openglperf2/jni/primitive/contextswitch/ |
ContextSwitchRenderer.h | 23 bool setUp(int workload);
|
/cts/tests/openglperf2/jni/primitive/pixeloutput/ |
PixelOutputRenderer.h | 23 bool setUp(int workload);
|
PixelOutputRenderer.cpp | 57 bool PixelOutputRenderer::setUp(int workload) { 59 mWorkload = workload; 60 if (!Renderer::setUp(workload)) {
|
/cts/tests/openglperf2/jni/primitive/shaderperf/ |
ShaderPerfRenderer.h | 23 bool setUp(int workload);
|
ShaderPerfRenderer.cpp | 58 //Add workload here 61 " * 4;"//workload * 4 (4 is a tweaking number, bigger = more work) 98 bool ShaderPerfRenderer::setUp(int workload) { 100 if (!Renderer::setUp(workload)) { 109 spFragment[index - 1] = (char) (((int) '0') + workload);
|
/cts/tests/openglperf2/jni/reference/ |
ReferenceRenderer.h | 26 bool setUp(int workload);
|
ReferenceRenderer.cpp | 29 bool ReferenceRenderer::setUp(int workload) { 37 if (!Renderer::setUp(workload)) {
|
/external/lisa/libs/wlgen/wlgen/ |
__init__.py | 21 from wlgen.workload import Workload
|
/system/extras/tests/workloads/ |
pwrsummary.sh | 52 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
|
/external/lisa/experiments/ |
run_camera.py | 11 from android import Screen, Workload, System 21 parser = argparse.ArgumentParser(description='Camera Workload tests') 36 parser.add_argument('--workload', dest='workload', action='store', 37 default='CameraPreview', help='Camera workload to run (ex. CameraPreview)') 41 if args.workload not in workloads: 42 raise RuntimeError('Invalid workload specified') 45 # Get workload 46 wload = Workload.getInstance(te, args.workload) [all...] |
/cts/tests/openglperf2/jni/primitive/fullpipeline/ |
FullPipelineRenderer.h | 27 bool setUp(int workload);
|
FullPipelineRenderer.cpp | 100 bool FullPipelineRenderer::setUp(int workload) { 102 if (!Renderer::setUp(workload)) { 150 float count = workload * workload;
|
/external/autotest/client/tests/dacapo/ |
dacapo.py | 67 workload = cfg.get('global', 'workload') 70 workload = cfg.get(test, 'workload') 73 workload = '-s %s ' % workload 77 args = verbose + workload + scratch + iterations + test
|
/cts/tests/openglperf2/jni/graphics/ |
Renderer.h | 24 virtual bool setUp(int workload);
|
/external/lisa/libs/utils/android/ |
__init__.py | 22 from workload import Workload 42 # Import workload module
|
/cts/tests/openglperf2/jni/primitive/ |
GLPrimitive.cpp | 43 JNIEnv* env, jclass /*clazz*/, jint workload, jint numFrames, jdoubleArray frameTimes) { 49 bool success = gRenderer->setUp(workload);
|
/cts/tests/openglperf2/src/android/opengl2/cts/primitive/ |
GLPrimitiveActivity.java | 108 private static native boolean startBenchmark(int workload, int numFrames, double[] frameTimes); 138 // The workload to use for this iteration. 139 int workload = i + 1; local 142 success = startBenchmark(workload, mNumFrames, times);
|
/external/lisa/libs/utils/android/workloads/ |
camera_preview.py | 26 from android.workload import Workload 29 class CameraPreview(Workload): 31 Android CameraPreview workload 34 # Package required by this workload 41 self._log.debug('Workload created') 45 Run a camera preview workload
|
camera_startup.py | 26 from android.workload import Workload 29 class CameraStartup(Workload): 31 Android CameraStartup workload 34 # Package required by this workload 41 self._log.debug('Workload created') 45 Run a camera startup workload
|
/external/ltp/testcases/kernel/power_management/lib/ |
pm_sched_mc.py | 291 def get_job_count(stress, workload, sched_smt): 301 if workload == "ebizzy" and int(sched_smt) ==0: 303 if workload == "kernbench" and int(sched_smt) < 2: 316 ''' Triggers ebizzy workload for sched_mc=1 321 workload = "ebizzy" 327 if file_name == workload: 349 print "INFO: ebizzy workload triggerd" 351 #Commented bcoz it doesnt make sense to capture it when workload triggered 356 print "INFO: ebizzy workload triggerd failed" 360 print "Ebizzy workload trigger failed ", detail [all...] |
/external/deqp/modules/gles3/performance/ |
es3pDepthTests.cpp | 79 int workload; member in struct:deqp::gles3::Performance::__anon17462::Sample 310 // Arithmetic workload shader but contains discard 524 virtual Sample renderSample (const RenderData& occluder, const RenderData& occluded, int workload) const = 0; 597 const int workload = maxWorkload*step/ITERATION_STEPS; local 600 params.push_back(workload); 608 const int workload = params[ndx]; local 609 Sample sample = renderSample(*occluderData, *occludedData, workload); 611 sample.workload = workload; 645 << TestLog::ValueInfo("Workload", "Workload", "", QP_SAMPLE_VALUE_TAG_PREDICTOR [all...] |
/external/ltp/testcases/kernel/power_management/ |
README | 81 To run cpu consolidation test user has to provide -w <workload> -l <sched_mc_level>.
|