Add Benchmark Sequential

This commit is contained in:
TXuian 2022-12-09 23:35:09 +08:00
parent 2c8fbbcb27
commit 8c45ff21f7
1 changed files with 2 additions and 2 deletions

View File

@ -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 {