Commit Graph

9 Commits

Author SHA1 Message Date
Erik de Castro Lopo
6b00dc26b2 Another bulk update of copyright dates 2016-12-05 19:07:13 +11:00
Dave Yeo
50e7aea808 microbench: Add fallback to gettimeofday()
Some operating systems such as OS/2 don't have any of the CLOCK* API
functions so add gettimeofday() as a fallback.

Signed-off-by: Dave Yeo <dave.r.yeo@gmail.com>
Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
2016-02-09 20:30:29 +11:00
Erik de Castro Lopo
4288e44605 microbench/util.c: Fix -Wshadow warning 2016-01-26 16:20:00 +11:00
Erik de Castro Lopo
924cade2d9 Fix linking of microbenchmark program
On some setups, benchmark_residual linkage fails with an undefined
reference to clock_gettime(). Adding -lrt fixes that.

Patch-from: Ozkan Sezer <sezeroz@gmail.com>
2016-01-24 08:21:26 +11:00
Tristan Matthews
33a73fcba2 microbench: remove duplicate define
Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
2015-09-30 18:59:05 +10:00
Tristan Matthews
ab300d4b18 microbench: add benchmarking code for Darwin
Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
2015-09-30 18:58:39 +10:00
Erik de Castro Lopo
451efca294 microbench/util.c: Win32 support 2015-09-02 16:34:22 +10:00
Erik de Castro Lopo
98cab352a0 microbench/Makefile.am: Fix 'make distcheck' 2015-09-02 16:33:54 +10:00
Erik de Castro Lopo
95fc3bf314 Add first micro-benchmark 2015-09-01 04:14:17 +10:00