add benchmark to app. TODO: test benchmark.

This commit is contained in:
TXuian 2022-12-07 20:57:30 +08:00
parent d172f7bba0
commit cbb09b6201
1 changed files with 2 additions and 2 deletions

View File

@ -137,8 +137,8 @@ void *run_benchmark(void *args) {
init_benchmark_runset(&head); init_benchmark_runset(&head);
printf("[BENCHMARK] Start Benchmark running.\n"); printf("[BENCHMARK] Start Benchmark running.\n");
case_attr.schedparam.sched_priority = 30; case_attr.schedparam.sched_priority = 25;
case_attr.stacksize = 8192; case_attr.stacksize = 16384;
PrivSemaphoreCreate(&syn_sem, 0, -21); PrivSemaphoreCreate(&syn_sem, 0, -21);
PrivMutexCreate(&case_mu, 0); PrivMutexCreate(&case_mu, 0);