cyclic.rst 722 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. .. SPDX-License-Identifier: GPL-2.0+
  2. cyclic command
  3. ==============
  4. Synopsis
  5. --------
  6. ::
  7. cyclic list
  8. Description
  9. -----------
  10. The cyclic list command provides a list of the currently registered
  11. cyclic functions.
  12. This shows the following information:
  13. Function
  14. Function name
  15. cpu-time
  16. Total time spent in this cyclic function.
  17. Frequency
  18. Frequency of execution of this function, e.g. 100 times/s for a
  19. pediod of 10ms.
  20. See :doc:`../../develop/cyclic` for more information on cyclic functions.
  21. Example
  22. -------
  23. ::
  24. => cyclic list
  25. function: cyclic_demo, cpu-time: 52906 us, frequency: 99.20 times/s
  26. Configuration
  27. -------------
  28. The cyclic command is only available if CONFIG_CMD_CYCLIC=y.