1*760c253cSXin Li# This example experiment file shows how to invoke the profiler (via 2*760c253cSXin Li# the perf_args above the benchmark). 3*760c253cSXin Li# 4*760c253cSXin Li# You should replace all the placeholders, marked by angle-brackets, 5*760c253cSXin Li# with the appropriate actual values. 6*760c253cSXin Li 7*760c253cSXin Li 8*760c253cSXin Liname: telemetry_crosperf_profiler_example 9*760c253cSXin Li 10*760c253cSXin Liboard: <your-board-goes-here> 11*760c253cSXin Li 12*760c253cSXin Li# Note: You can specify multiple remotes, to run your tests in parallel on 13*760c253cSXin Li# multiple machines. e.g. "remote: test-machine-1.com test-machine2.come 14*760c253cSXin Li# test-machine3.com" 15*760c253cSXin Liremote: <your-remote-goes-here> 16*760c253cSXin Li 17*760c253cSXin Li# Below is the line that causes the profiler to run. Currently the 18*760c253cSXin Li# only profiler option is running 'perf' on the remote machine. If 19*760c253cSXin Li# you want you can replace 'record' with 'stat'. You would also need 20*760c253cSXin Li# to change the other args accordingly. Crosperf automatically 21*760c253cSXin Li# inserts a '-a' if you use 'record' for you perf_args. The results 22*760c253cSXin Li# of the perf run (perf.data and perf.report files) will be available 23*760c253cSXin Li# with the rest of the Crosperf results. 24*760c253cSXin Liperf_args: record -e cycles,instructions 25*760c253cSXin Li 26*760c253cSXin Libenchmark: page_cycler_v2.dhtml { 27*760c253cSXin Li suite: telemetry_Crosperf 28*760c253cSXin Li iterations: 1 29*760c253cSXin Li} 30*760c253cSXin Li 31*760c253cSXin Li# Replace the chromeos image below with the actual path to your test imnage. 32*760c253cSXin Litest_image { 33*760c253cSXin Li chromeos_image:<path-to-your-chroot>/src/build/images/<board>/test-image/chromiumos_test_image.bin 34*760c253cSXin Li} 35*760c253cSXin Li 36