Teacup_Firmware/testcases
Markus Hitter fdfd202e5d run-in-simulavr.sh: add statistics output for LED On Time.
As it's still a bit cumbersome to go through the whole .vcd file
to find the highest delay between On and Off, do this search
automatically and output an statistics. Can look like this:

  Statistics (assuming a 20 MHz clock):
  LED on occurences: 838.
  Sum of all LED on time: 262055 clock cycles.
  LED on time minimum: 306 clock cycles.
  LED on time maximum: 717 clock cycles.
  LED on time average: 312.715 clock cycles.

This should give an reasonable overview of wether and roughly
how much a particular code change makes your code slower or
faster. It should also show up showblockers, like occasionally
huge delays.

BTW., the above data was collected timing the step interrupt when
running short-moves.gcode with the current firmware.
2014-08-31 19:06:13 +02:00
..
.gitignore Add a draft of a script running testcases in SimulAVR. 2013-12-06 19:24:58 +01:00
excessive-digits.gcode Testcases review: 2013-12-06 19:24:58 +01:00
nullmoves.gcode Testcases review: 2013-12-06 19:24:58 +01:00
run-in-simulavr.sh run-in-simulavr.sh: add statistics output for LED On Time. 2014-08-31 19:06:13 +02:00
save-file-velocities.gtkw Testcases: add save file for GTKWave. 2013-12-06 19:24:58 +01:00
short-moves.gcode Add a testcase for moves shorter than the acceleration ramps. 2013-12-06 19:24:58 +01:00
smooth-curves.gcode Testcases review: 2013-12-06 19:24:58 +01:00
straight-speeds.gcode Testcases review: 2013-12-06 19:24:58 +01:00
triangle-odd.gcode Testcases review: 2013-12-06 19:24:58 +01:00
triangle.gcode Testcases review: 2013-12-06 19:24:58 +01:00