Update some comments

This commit is contained in:
Gregory Nutt 2017-01-22 10:17:51 -06:00
parent 2a284a95b1
commit 1823c78663

View File

@ -624,10 +624,10 @@ config SCHED_CPULOAD_TICKSPERSEC
---help--- ---help---
If an external clock is used to drive the sampling for the CPU load If an external clock is used to drive the sampling for the CPU load
calculations, then this value must be provided. This value provides calculations, then this value must be provided. This value provides
the rate of the external clock in units of ticks per second. The the rate of the external clock interrupts in units of ticks per
default value of 100 corresponds to 100Hz clock. NOTE: that 100Hz second. The default value of 100 corresponds to a 100Hz clock. NOTE:
is the default frequency of the system time and, hence, the worst that 100Hz is the default frequency of the system time and, hence,
possible choice in most cases. the worst possible choice in most cases.
config CPULOAD_ONESHOT config CPULOAD_ONESHOT
bool "Use Oneshot timer" bool "Use Oneshot timer"
@ -641,6 +641,13 @@ config CPULOAD_ONESHOT
To start the CPU load measurement. See include/nuttx/clock.h To start the CPU load measurement. See include/nuttx/clock.h
NOTE that in this configuration, CONFIG_SCHED_CPULOAD_TICKSPERSEC is
the sample rate that will be accomplished by programming the oneshot
time repeatedly. If CPULOAD_ONESHOT_ENTROPY is also selected, then
the underly frequency driving the oneshote timer must be
significantly faster than CONFIG_SCHED_CPULOAD_TICKSPERSE to permit
precise modulation the sample periods.
config CPULOAD_ONESHOT_ENTROPY config CPULOAD_ONESHOT_ENTROPY
int "Bits of entropy" int "Bits of entropy"
default 6 default 6