bench: Modify benchmarks for a wider range of platforms
authorKazunobu Kuriyama <kazunobu.kuriyama@nifty.com>
Mon, 24 Aug 2015 04:33:32 +0000 (13:33 +0900)
committerKazunobu Kuriyama <kazunobu.kuriyama@nifty.com>
Fri, 28 Aug 2015 11:02:26 +0000 (20:02 +0900)
commit3c12d671cc4f04c70a8b09f9565a223d0e2d52f6
tree673d8a6d3fc1294a696361e33237638f3d571f51
parent91a19905b381bf3d17f4c4f81cf72d4eae853a85
bench: Modify benchmarks for a wider range of platforms

 - Add the new files bench.c and bench.h to implement a timer module.
 - Implement the module with clock_gettime(), mach_absolute_time(), or
   gettimeofday(), depending on a given platform.
 - Replace the time measurement code of the benchmark programs with the
   functions of the module.
Makefile.am
bench/bench.c [new file with mode: 0644]
bench/bench.h [new file with mode: 0644]
bench/compose.c
bench/key-proc.c
bench/rules.c
bench/rulescomp.c
configure.ac