wangchdo commented on code in PR #17065:
URL: https://github.com/apache/nuttx/pull/17065#discussion_r2375104200


##########
sched/Kconfig:
##########
@@ -2034,3 +2034,21 @@ config CUSTOM_SEMAPHORE_MAXVALUE
        ---help---
                Enable to support custom max value for semaphores.
                When this option is enabled, the max value of a semaphore can 
be set
+
+config HRTIMER
+       bool "High-resolution timer (hrtimer) support"
+       depends on ALARM_ARCH
+       default n
+       ---help---
+               Enable high-resolution timers (hrtimers) for precise time-based
+               operations within the system.
+
+if HRTIMER
+config HRTIMER_ONESHOT_QUEUE_SIZE
+       int "Size of oneshot hrtimer queue"
+       default 64

Review Comment:
   I use this number for the default oneshot priority queue space allocation, 
please have a check:
   
   <img width="811" height="647" alt="image" 
src="https://github.com/user-attachments/assets/1d8c8771-3525-4a4f-a936-05e7471cc2b0";
 />
   
   I think it is better to give user control over the default priority queue 
size
   
   Let me think how to improve this, Thanks
   



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