kc3-lang/libxkbcommon/bench/compose.c

Branch :


Log

Author Commit Date CI Message
c8e17eed 2018-07-05 18:13:14 bench: simplify the bench helpers Trim the API a bit. Also, just always use gettimeofday(), which is portable. Hopefully the system clock doesn't change while a benchmark is running. Signed-off-by: Ran Benita <ran234@gmail.com>
853b7502 2016-09-16 09:36:27 bench/compose: tabs -> spaces Signed-off-by: Ran Benita <ran234@gmail.com>
ea9a5bcf 2016-09-15 14:12:38 bench: Check for errors opening Compose file Otherwise it can segfault e.g. running ./compose inside the bench directory. Signed-off-by: Bryce Harrington <bryce@bryceharrington.org> Signed-off-by: Ran Benita <ran234@gmail.com>
3c12d671 2015-08-24 13:33:32 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.
8d58e250 2014-10-03 00:30:43 bench/compose: add new benchmark Signed-off-by: Ran Benita <ran234@gmail.com>