linguini1 commented on code in PR #17011:
URL: https://github.com/apache/nuttx/pull/17011#discussion_r2395144485


##########
boards/sim/sim/sim/configs/vncserver/defconfig:
##########
@@ -12,6 +12,7 @@ CONFIG_ARCH_BOARD_SIM=y
 CONFIG_ARCH_CHIP="sim"
 CONFIG_ARCH_SIM=y
 CONFIG_BOARD_LATE_INITIALIZE=y
+CONFIG_BOARD_LOOPSPERMSEC=0

Review Comment:
   > before your change, arch_alarm.c implement up_udelay: 
https://github.com/apache/nuttx/pull/17071/files#diff-0b93d3b636b9a621c7a7904978e06958366a6f72a48a56e954253dbb8e01aa1dL410
   
   You're right, but if you look at the implementation in arch_alarm.c, you can 
see that it uses the exact same as the default definition. So even it depended 
on `CONFIG_BOARD_LOOPSPERMSEC`. So I still have a gap in my understanding about 
why `sim` is able to run with that option set to 0, essentially never waiting. 
Where else is the delay coming from?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to