Beispiel #1
0
void benchmarks(void)
{
#if ARCH_ARM
	bench_set_overhead();
	bench_memset();
	bench_cset_uint8_t();
	bench_cset_uint16_t();
	bench_cset_uint32_t();
	bench_cset_uint64_t();
	bench_cset_wide();
	bench_cset_stm();
	bench_memcpy();
#endif
#if WITH_LIB_LIBM
    bench_sincos();
#endif
}
Beispiel #2
0
static trigreal cos2pi(int m, int n)
{
     return bench_sincos((trigreal)m, (trigreal)n, 0);
}
Beispiel #3
0
static trigreal sin2pi(int m, int n)
{
     return bench_sincos((trigreal)m, (trigreal)n, 1);
}