Core Benchmarks Test Suite.
Test suite for core benchmarks. The purpose of this suite
is to perform general benchmarks in order to assess
performance of cores and/or compilers.
corebmk_
Internal Tests
Information.
This sequence reports configuration and version
information about execution environment.
#include "ch.h"
#include "ffbench_mod.h"
#define ASIZE 64 /* Array edge size. */
#define NITERATIONS 10 /* Number of iterations. */
#define NPASSES 50 /* Number of FFT/Inverse passes. */
#define max(a, b) ((a) > (b) ? (a) : (b))
#define min(a, b) ((a) <= (b) ? (a) : (b))
float *fdatas;
double *fdatad;
]]>
Environment Info.
Environment-related info are reported.
Architecture and Compiler information.
Two-dimensional FFT
Two-dimensional FFT benchmark, execution time is reported, expected results are checked.
Allocating memory for single precision work matrix
Printing setup
Running single precision FFT iterations
Printing execution time