You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "xiaoxiang781216 (via GitHub)" <gi...@apache.org> on 2023/09/28 15:00:31 UTC

[GitHub] [nuttx] xiaoxiang781216 commented on a diff in pull request #10827: Improve adjtime() functionality

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


##########
sched/Kconfig:
##########
@@ -217,28 +217,24 @@ config CLOCK_ADJTIME
 
 if CLOCK_ADJTIME
 
-config CLOCK_ADJTIME_SLEWLIMIT
+config CLOCK_ADJTIME_SLEWLIMIT_PPM
 	int "Adjtime slew limit"
-	default 2
-	range 0 100
+	default 20000
+	range 1 1000000
 	---help---
-		In real time systems we do not want the time to adjust too quickly.
-		CLOCK_ADJTIME_SLEWLIMIT defines how many seconds can time change
-		during each clock.
+    Set limit of adjtime() clock slewing as parts per million.

Review Comment:
   tab



-- 
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: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org