add benchmark to app. TODO: test benchmark.

This commit is contained in:
TXuian 2022-12-07 19:19:31 +08:00
parent c5b50b03c8
commit e542de5758
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -10,7 +10,7 @@
* See the Mulan PSL v2 for more details.
*/
__STACKSIZE__ = 5120;
__STACKSIZE__ = 8192;
OUTPUT_ARCH( "riscv" )
MEMORY
{