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