Add Benchmark Sequential
This commit is contained in:
parent
2c8fbbcb27
commit
8c45ff21f7
|
@ -29,7 +29,7 @@
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <transform.h>
|
#include <transform.h>
|
||||||
|
|
||||||
#define CPU_MHZ 3
|
#define CPU_MHZ 500
|
||||||
// int CPU_MHZ = 500;
|
// int CPU_MHZ = 500;
|
||||||
|
|
||||||
/* Benchmarks must implement verify_benchmark, which must return -1 if no
|
/* Benchmarks must implement verify_benchmark, which must return -1 if no
|
||||||
|
@ -64,7 +64,7 @@ static int benchmark(void) __attribute__((noinline));
|
||||||
static int verify_benchmark(int res);
|
static int verify_benchmark(int res);
|
||||||
|
|
||||||
// fit embench to run on xiuos's kernels
|
// fit embench to run on xiuos's kernels
|
||||||
#define WARMUP_HEAT 0
|
#define WARMUP_HEAT 5
|
||||||
#define MAGIC_NUMBER 0x7777
|
#define MAGIC_NUMBER 0x7777
|
||||||
|
|
||||||
typedef struct benchmark_t {
|
typedef struct benchmark_t {
|
||||||
|
|
Loading…
Reference in New Issue