sim: set loop task duration to 10ms

Signed-off-by: ligd <liguiding1@xiaomi.com>
This commit is contained in:
ligd 2023-02-03 22:12:36 +08:00 committed by Xiang Xiao
parent f102837fe1
commit 8aecad287c
2 changed files with 7 additions and 1 deletions

View File

@ -140,6 +140,12 @@ config SIM_WALLTIME_SIGNAL
endchoice endchoice
config SIM_LOOPTASK_INTERVAL
int "looptask interval in us"
default 10000
---help---
Looptask sleep time
config SIM_STACKSIZE_ADJUSTMENT config SIM_STACKSIZE_ADJUSTMENT
int "The adjustment of stack size for sim" int "The adjustment of stack size for sim"
default 65536 default 65536

View File

@ -218,7 +218,7 @@ static int sim_loop_task(int argc, char **argv)
/* Sleep minimal time, let the idle run */ /* Sleep minimal time, let the idle run */
usleep(USEC_PER_TICK); usleep(CONFIG_SIM_LOOPTASK_INTERVAL);
} }
return 0; return 0;