Add Benchmark Sequential
This commit is contained in:
parent
9112466dce
commit
32d9116774
|
@ -175,7 +175,6 @@ void *run_benchmark_sequential(void *args) {
|
|||
benchmark_handle *cur_handle = head.next;
|
||||
while (NULL != cur_handle) {
|
||||
assert(cur_handle->handle.magic_number != MAGIC_NUMBER);
|
||||
printf("[Benchmark] Run Task\n");
|
||||
clock_t start_time = 0, end_time = 0;
|
||||
cur_handle->handle.benchmark_func->initialise_benchmark();
|
||||
cur_handle->handle.benchmark_func->warm_caches(WARMUP_HEAT);
|
||||
|
@ -183,7 +182,6 @@ void *run_benchmark_sequential(void *args) {
|
|||
volatile int result = cur_handle->handle.benchmark_func->benchmark();
|
||||
stop_trigger(&end_time);
|
||||
|
||||
printf("[Benchmark] End current task\n");
|
||||
int correct = cur_handle->handle.benchmark_func->verify_benchmark(result);
|
||||
if (!correct) {
|
||||
printf("[EmBench] Wrong result!.\n");
|
||||
|
|
Loading…
Reference in New Issue