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