blob: ac1e4c663bf8c0a33ba8c372c182d7835f23340a [file] [log] [blame]
Stefan Roese4736bec2022-09-02 13:57:53 +02001.. SPDX-License-Identifier: GPL-2.0+
2
Heinrich Schuchardt1b0c3162024-01-14 14:53:13 +01003.. index::
4 single: cyclic (command)
5
Stefan Roese4736bec2022-09-02 13:57:53 +02006cyclic command
7==============
8
9Synopsis
10--------
11
12::
13
14 cyclic list
15
16Description
17-----------
18
19The cyclic list command provides a list of the currently registered
20cyclic functions.
21
22This shows the following information:
23
24Function
25 Function name
26
27cpu-time
28 Total time spent in this cyclic function.
29
30Frequency
31 Frequency of execution of this function, e.g. 100 times/s for a
32 pediod of 10ms.
33
34
35See :doc:`../../develop/cyclic` for more information on cyclic functions.
36
37Example
38-------
39
40::
41
42 => cyclic list
43 function: cyclic_demo, cpu-time: 52906 us, frequency: 99.20 times/s
44
45Configuration
46-------------
47
48The cyclic command is only available if CONFIG_CMD_CYCLIC=y.