cyclic: doc: Update documentation for CONFIG_CYCLIC_MAX_CPU_TIME_US
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")
Signed-off-by Weizhao Ouyang <[email protected]>
--- doc/develop/cyclic.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
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 -----------------------------
Signature · 1 line
2.39.2
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")Signed-off-by Weizhao Ouyang <[email protected]>
Reviewed-by Stefan Roese <[email protected]>
Thanks,
Stefan
Quoted 9 lines
--- doc/develop/cyclic.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)doc/develop/cyclic.rst +0
-0
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]