/system/extras/simpleperf/ |
workload_test.cpp | 23 #include "workload.h" 30 TEST(workload, success) { 33 auto workload = Workload::CreateWorkload({"sleep", "1"}); local 34 ASSERT_TRUE(workload != nullptr); 35 ASSERT_TRUE(workload->GetPid() != 0); 36 ASSERT_TRUE(workload->Start()); 41 TEST(workload, execvp_failure) { 42 auto workload = Workload::CreateWorkload({"/dev/null"}) local 51 auto workload = Workload::CreateWorkload({"sleep", "10"}); local 71 auto workload = Workload::CreateWorkload({"ls", "nonexistdir"}); local [all...] |
cmd_stat_test.cpp | 57 void CreateProcesses(size_t count, std::vector<std::unique_ptr<Workload>>* workloads) { 60 // Create a workload runs longer than profiling time. 61 auto workload = Workload::CreateWorkload({"sleep", "1000"}); local 62 ASSERT_TRUE(workload != nullptr); 63 ASSERT_TRUE(workload->Start()); 64 workloads->push_back(std::move(workload)); 69 std::vector<std::unique_ptr<Workload>> workloads; 77 std::vector<std::unique_ptr<Workload>> workloads;
|
workload.cpp | 17 #include "workload.h" 26 std::unique_ptr<Workload> Workload::CreateWorkload(const std::vector<std::string>& args) { 27 std::unique_ptr<Workload> workload(new Workload(args)); 28 if (workload != nullptr && workload->CreateNewProcess()) { 29 return workload; 34 Workload::~Workload() [all...] |
cmd_stat.cpp | 39 #include "workload.h" 122 // 2. Create workload. 123 std::unique_ptr<Workload> workload; local 125 workload = Workload::CreateWorkload(workload_args); 126 if (workload == nullptr) { 131 if (workload != nullptr) { 132 monitored_threads_.push_back(workload->GetPid()); 151 // 4. Count events while workload running [all...] |
cmd_record.cpp | 42 #include "workload.h" 209 // 2. Create workload. 210 std::unique_ptr<Workload> workload; local 212 workload = Workload::CreateWorkload(workload_args); 213 if (workload == nullptr) { 218 if (workload != nullptr) { 219 monitored_threads_.push_back(workload->GetPid()); 250 // 5. Write records in mmap buffers of perf_event_files to output file while workload is running [all...] |
Android.mk | 98 workload.cpp \
|
/cts/tests/openglperf2/jni/primitive/contextswitch/ |
ContextSwitchRenderer.h | 23 bool setUp(int workload);
|
ContextSwitchRenderer.cpp | 81 bool ContextSwitchRenderer::setUp(int workload) { 83 mWorkload = workload; 84 if (!Renderer::setUp(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)) {
|
/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
|
/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);
|
/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 | 107 private static native boolean startBenchmark(int workload, int numFrames, double[] frameTimes); 137 // The workload to use for this iteration. 138 int workload = i + 1; local 141 success = startBenchmark(workload, mNumFrames, times);
|
/external/deqp/modules/gles3/performance/ |
es3pDepthTests.cpp | 79 int workload; member in struct:deqp::gles3::Performance::__anon9647::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/blktrace/btreplay/doc/ |
btreplay.tex | 75 \item While \texttt{blktrace} is running, you run the workload that you 79 utility (thus saving all traces over the complete workload). 84 to be used in the next phase of the workload processing. 88 attempts to generate the same IOs seen during the sample workload phase. 96 during the sample workload. 106 IOs during the sample workload. \texttt{btreplay} \emph{attempts} to 111 the precise order they were seen during the sample workload run. 167 ordering and timing of IOs seen during the sample workload. The reclaiming
|
/external/sonivox/arm-wt-22k/lib_src/ |
eas_synth.h | 379 EAS_I32 workload; member in struct:s_voice_mgr_tag
|
eas_voicemgt.c | 46 /* some defines for workload */ 293 /* set max workload to zero */ 994 /* increment workload */ 995 pVoiceMgr->workload += WORKLOAD_AMOUNT_SMALL_INCREMENT; [all...] |