xiaoxiang781216 commented on code in PR #18801:
URL: https://github.com/apache/nuttx/pull/18801#discussion_r3138252802


##########
arch/sim/src/sim/sim_internal.h:
##########
@@ -245,6 +245,7 @@ int host_inittimer(void);
 uint64_t host_gettime(bool rtc);
 void host_sleep(uint64_t nsec);
 void host_sleepuntil(uint64_t nsec);
+void host_set_timeratio(double ratio);

Review Comment:
   could avoid use float, but use percent unit intead



##########
arch/sim/Kconfig:
##########
@@ -170,6 +170,17 @@ config SIM_WALLTIME_SIGNAL
 
 endchoice
 
+config SIM_WALLTIME_RATIO
+       string "Simulated time ratio relative to real time"
+       default "1.0"

Review Comment:
   change to int with percent unit



-- 
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