[PATCH] cyclic: doc: Update documentation for CONFIG_CYCLIC_MAX_CPU_TIME_US

Cyclic now just print a warning once instead of disabling the cyclic function when the cyclic function upon exceeding CPU time usage.
Fixes: ddc8d36a7455 ("cyclic: Don't disable cylic function upon exceeding CPU time") Signed-off-by: Weizhao Ouyang o451686892@gmail.com --- doc/develop/cyclic.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/develop/cyclic.rst b/doc/develop/cyclic.rst index 43bedacb9f..be70a54f67 100644 --- a/doc/develop/cyclic.rst +++ b/doc/develop/cyclic.rst @@ -11,8 +11,8 @@ on a high frequent polling (e.g. UART rx char ready check) might be delayed too much. To detect cyclic functions with a too long execution time, the Kconfig option `CONFIG_CYCLIC_MAX_CPU_TIME_US` is introduced, which configures the max allowed time for such a cyclic function. If it's -execution time exceeds this time, this cyclic function will get removed -from the cyclic list. +execution time exceeds this time, cyclic will print a warning once to show +this potential problem to the user.
Registering a cyclic function -----------------------------

On 10/7/23 12:52, Weizhao Ouyang wrote:
Cyclic now just print a warning once instead of disabling the cyclic function when the cyclic function upon exceeding CPU time usage.
Fixes: ddc8d36a7455 ("cyclic: Don't disable cylic function upon exceeding CPU time") Signed-off-by: Weizhao Ouyang o451686892@gmail.com
Reviewed-by: Stefan Roese sr@denx.de
Thanks, Stefan
doc/develop/cyclic.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/develop/cyclic.rst b/doc/develop/cyclic.rst index 43bedacb9f..be70a54f67 100644 --- a/doc/develop/cyclic.rst +++ b/doc/develop/cyclic.rst @@ -11,8 +11,8 @@ on a high frequent polling (e.g. UART rx char ready check) might be delayed too much. To detect cyclic functions with a too long execution time, the Kconfig option `CONFIG_CYCLIC_MAX_CPU_TIME_US` is introduced, which configures the max allowed time for such a cyclic function. If it's -execution time exceeds this time, this cyclic function will get removed -from the cyclic list. +execution time exceeds this time, cyclic will print a warning once to show +this potential problem to the user.
Registering a cyclic function
Viele Grüße, Stefan Roese
participants (2)
-
Stefan Roese
-
Weizhao Ouyang