add benchmark to app. TODO: test benchmark.
This commit is contained in:
parent
2ad977d28e
commit
a727caeabd
|
@ -145,7 +145,7 @@ pthread_t benchmark_task;
|
|||
static int embenchmark(void) {
|
||||
pthread_attr_t attr;
|
||||
attr.schedparam.sched_priority = 25;
|
||||
attr.stacksize = 4096;
|
||||
attr.stacksize = 8192;
|
||||
|
||||
PrivTaskCreate(&benchmark_task, &attr, run_benchmark, NULL);
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue