Skip to contentSkip to conversation

cyclic: doc: Update documentation for CONFIG_CYCLIC_MAX_CPU_TIME_US

PATCH In review Weizhao Ouyang 2 participants 2 messages Oct 7, 2023 – Oct 16, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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")
---
 doc/develop/cyclic.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
doc/develop/cyclic.rst +2 -2
index 43bedacb9f..be70a54f67 100644
@@ -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
 -----------------------------
Signature · 1 line
2.39.2
Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · Weizhao Ouyang

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

Thanks,
Stefan

Quoted 9 lines
---
  doc/develop/cyclic.rst | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
doc/develop/cyclic.rst +0 -0
index 43bedacb9f..be70a54f67 100644

doc/develop/cyclic.rst on a high frequent polling (e.g. UART rx char ready check) might be · line 18

Quoted 10 lines
doc/develop/cyclic.rst +2 -2
@@ -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

Signature · 3 lines
DENX Software Engineering GmbH,      Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: [email protected]