Add Benchmark Sequential

This commit is contained in:
TXuian 2022-12-09 21:31:36 +08:00
parent 499808390c
commit 1fe282e70b
1 changed files with 4 additions and 3 deletions

View File

@ -200,9 +200,10 @@ void *run_benchmark_sequential(void *args) {
pthread_t main_thread;
static int embenchmark_parallel() {
case_attr.schedparam.sched_priority = 30;
case_attr.stacksize = 4096;
PrivTaskCreate(&main_thread, &case_attr, run_benchmark_parallel, NULL);
// case_attr.schedparam.sched_priority = 30;
// case_attr.stacksize = 4096;
// PrivTaskCreate(&main_thread, &case_attr, run_benchmark_parallel, NULL);
run_benchmark_parallel(NULL);
return 0;
}
static int embenchmark_sequential(void) {