2 This file contains and defines tests for use in rtems_bench.
4 Any new tests should be added to module variable tests to be seen by the bench.
11 def __init__(self, name, func, has_image):
14 self.has_image = has_image
21 for l in (2, 4, 6, 8):
22 lib.call_latester(" -d can0 -d can1 -d can2 -c 10000 {0} -l {1} -n len{1}".format(lib.get_latester_arg(l), l))
23 lib.create_plot_script()
28 lib.symlink_results(lib.original_name_from_histogram_name(self.name))
29 lib.create_plot_script()
31 def nop_highprio(self):
34 def nop_highprio_time(self):
38 tests = (Test("nop", nop, True),
39 Test("nop-time", nop_time, False),
40 Test("nop-highprio", nop_highprio, True),
41 Test("nop-highprio-time", nop_highprio_time, False))