Add Benchmark Sequential
This commit is contained in:
parent
51b2739659
commit
ecc577117b
|
@ -160,7 +160,7 @@ void *run_benchmark_parallel(void *args) {
|
|||
cur_handle = cur_handle->next;
|
||||
}
|
||||
struct timespec abstime;
|
||||
abstime.tv_sec = 10;
|
||||
abstime.tv_sec = 60;
|
||||
PrivSemaphoreObtainWait(&syn_sem, &abstime);
|
||||
|
||||
stop_trigger(&g_stop_time);
|
||||
|
@ -215,7 +215,7 @@ static int embenchmark_parallel() {
|
|||
case_attr.schedparam.sched_priority = 30;
|
||||
case_attr.stacksize = 16384;
|
||||
PrivTaskCreate(&main_thread, &case_attr, run_benchmark_parallel, NULL);
|
||||
run_benchmark_parallel(NULL);
|
||||
// run_benchmark_parallel(NULL);
|
||||
return 0;
|
||||
}
|
||||
static int embenchmark_sequential(void) {
|
||||
|
|
Loading…
Reference in New Issue