sim: set loop task duration to 10ms
Signed-off-by: ligd <liguiding1@xiaomi.com>
This commit is contained in:
parent
f102837fe1
commit
8aecad287c
@ -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
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user