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