add benchmark to app. TODO: test benchmark.
This commit is contained in:
parent
c5b50b03c8
commit
e542de5758
|
@ -143,7 +143,7 @@ pthread_t benchmark_task;
|
|||
static int embenchmark(void) {
|
||||
pthread_attr_t attr;
|
||||
attr.schedparam.sched_priority = 25;
|
||||
attr.stacksize = 5120;
|
||||
attr.stacksize = 8192;
|
||||
|
||||
PrivTaskCreate(&benchmark_task, &attr, run_benchmark, NULL);
|
||||
// run_benchmark(NULL);
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
* See the Mulan PSL v2 for more details.
|
||||
*/
|
||||
|
||||
__STACKSIZE__ = 5120;
|
||||
__STACKSIZE__ = 8192;
|
||||
OUTPUT_ARCH( "riscv" )
|
||||
MEMORY
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue