runAllBenchmarks.bat 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. @ECHO OFF
  2. echo "Basic Maths"
  3. python processTests.py -f bench.txt -e BasicBenchmarks
  4. call:runBench
  5. echo "Complex Maths"
  6. python processTests.py -f bench.txt -e ComplexBenchmarks
  7. call:runBench
  8. echo "FIR"
  9. python processTests.py -f bench.txt -e FIR
  10. call:runBench
  11. echo "Convolution / Correlation"
  12. python processTests.py -f bench.txt -e MISC
  13. call:runBench
  14. echo "Decimation / Interpolation"
  15. python processTests.py -f bench.txt -e DECIM
  16. call:runBench
  17. echo "BiQuad"
  18. python processTests.py -f bench.txt -e BIQUAD
  19. call:runBench
  20. echo "Controller"
  21. python processTests.py -f bench.txt -e Controller
  22. call:runBench
  23. echo "Fast Math"
  24. python processTests.py -f bench.txt -e FastMath
  25. call:runBench
  26. echo "Barycenter"
  27. python processTests.py -f bench.txt -e SupportBarF32
  28. call:runBench
  29. echo "Support"
  30. python processTests.py -f bench.txt -e Support
  31. call:runBench
  32. echo "Unary Matrix"
  33. python processTests.py -f bench.txt -e Unary
  34. call:runBench
  35. echo "Binary Matrix"
  36. python processTests.py -f bench.txt -e Binary
  37. call:runBench
  38. echo "Transform"
  39. python processTests.py -f bench.txt -e Transform
  40. call:runBench
  41. EXIT /B
  42. :runBench
  43. REM pushd build_m7
  44. REM pushd build_m0
  45. pushd build_a5
  46. make
  47. REM "C:\Program Files\ARM\Development Studio 2019.0\sw\models\bin\FVP_MPS2_Cortex-M7.exe" -a Testing > result.txt
  48. REM "C:\Program Files\ARM\Development Studio 2019.0\sw\models\bin\FVP_MPS2_Cortex-M0.exe" -a Testing > result.txt
  49. "C:\Program Files\ARM\Development Studio 2019.0\sw\models\bin\FVP_VE_Cortex-A5x1.exe" -a Testing > result.txt
  50. popd
  51. echo "Parse result"
  52. REM python processResult.py -f bench.txt -e -r build_m7\result.txt
  53. REM python processResult.py -f bench.txt -e -r build_m0\result.txt
  54. python processResult.py -f bench.txt -e -r build_a5\result.txt
  55. goto:eof