summaryrefslogtreecommitdiffstats
path: root/src/frontend/mame/ui/utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/mame/ui/utils.cpp')
0 files changed, 0 insertions, 0 deletions
/tree/benchmarks/eminline_native.cpp?h=mame0226&id=e8d2853334d6779213352b2e7aa442d1ace45516'>eminline_native.cpp
blob: 9402532fddb7005cd36c14253e63c541f92810be (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "benchmark/benchmark_api.h"
#include "osdcomm.h"
#include "osdcore.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);