diff options
Diffstat (limited to 'benchmarks')
-rw-r--r-- | benchmarks/eminline_native.cpp | 15 | ||||
-rw-r--r-- | benchmarks/eminline_noasm.cpp | 24 | ||||
-rw-r--r-- | benchmarks/main.cpp | 6 |
3 files changed, 0 insertions, 45 deletions
diff --git a/benchmarks/eminline_native.cpp b/benchmarks/eminline_native.cpp deleted file mode 100644 index 07bfa02bb1d..00000000000 --- a/benchmarks/eminline_native.cpp +++ /dev/null @@ -1,15 +0,0 @@ -// license:BSD-3-Clause -// copyright-holders:Miodrag Milanovic - -#include "benchmark/benchmark_api.h" -#include "osdcomm.h" -#include "eminline.h" -static void BM_count_leading_zeros_native(benchmark::State& state) { - UINT32 cnt = 0x332533; - while (state.KeepRunning()) { - (void)count_leading_zeros(cnt); - cnt++; - } -} -// Register the function as a benchmark -BENCHMARK(BM_count_leading_zeros_native); diff --git a/benchmarks/eminline_noasm.cpp b/benchmarks/eminline_noasm.cpp deleted file mode 100644 index 43c9e36b020..00000000000 --- a/benchmarks/eminline_noasm.cpp +++ /dev/null @@ -1,24 +0,0 @@ -// license:BSD-3-Clause -// copyright-holders:Miodrag Milanovic - -#include "benchmark/benchmark_api.h" -#include <time.h> -#include "osdcore.h" -#include "osdcomm.h" -#define MAME_NOASM 1 -osd_ticks_t osd_ticks(void) -{ - // use the standard library clock function - return clock(); -} -#include "eminline.h" - -static void BM_count_leading_zeros_noasm(benchmark::State& state) { - UINT32 cnt = 0x332533; - while (state.KeepRunning()) { - (void)count_leading_zeros(cnt); - cnt++; - } -} -// Register the function as a benchmark -BENCHMARK(BM_count_leading_zeros_noasm); diff --git a/benchmarks/main.cpp b/benchmarks/main.cpp deleted file mode 100644 index c859b918976..00000000000 --- a/benchmarks/main.cpp +++ /dev/null @@ -1,6 +0,0 @@ -// license:BSD-3-Clause -// copyright-holders:Miodrag Milanovic - -#include "benchmark/benchmark_api.h" - -BENCHMARK_MAIN();
\ No newline at end of file |