1How to run and verify the benchmark: 2 31) adb push $OUT/data/local/tmp/panorama_bench /data/local/tmp 42) adb push input /data/panorama_input 53) adb shell /data/local/tmp/panorama_bench /data/panorama_input/test /data/panorama.ppm 6 7Sample output: 8 938 frames loaded 10Iteration 0: 1454x330 moasic created: 4.33 seconds (2.05 + 2.28) 11Iteration 1: 1454x330 moasic created: 4.26 seconds (1.83 + 2.44) 12Iteration 2: 1454x330 moasic created: 5.57 seconds (2.73 + 2.84) 13Iteration 3: 1454x330 moasic created: 5.15 seconds (2.33 + 2.82) 14Iteration 4: 1454x330 moasic created: 6.22 seconds (2.05 + 4.16) 15Iteration 5: 1454x330 moasic created: 6.31 seconds (2.16 + 4.15) 16Iteration 6: 1454x330 moasic created: 5.04 seconds (2.03 + 3.01) 17Iteration 7: 1454x330 moasic created: 6.30 seconds (3.47 + 2.83) 18Iteration 8: 1454x330 moasic created: 6.57 seconds (1.83 + 4.73) 19Iteration 9: 1454x330 moasic created: 6.27 seconds (2.28 + 4.00) 20Total elapsed time: 56.02 seconds 21 22The first number in the parenthesis is the time to align the frames; the second 23number is the time to stitch them. 24 25The total elapsed time is the interesting number for benchmarking. 26 27The result of the benchmark can be verified by pulling the the output 28photo off the device and comparing it against the golden reference: 29 301) adb pull /data/panorama.ppm . 312) diff panorama.ppm output/golden.ppm 32