Dump the list of timers to a stream By default, this function prints the list of active (running) timers. The output format is: | Name | Period | Alarm | - Name — timer pointer - Period — period of timer in microseconds, or 0 for one-shot timer - Alarm - time of the next alarm in microseconds since boot, or 0 if the timer is not started To print the list of all created timers, enable Kconfig option `CONFIG_ESP_TIMER_PROFILING`. In this case, the output format is: | Name | Period | Alarm | Times_armed | Times_trigg | Times_skip | Cb_exec_time | - Name — timer name - Period — same as above - Alarm — same as above - Times_armed — number of times the timer was armed via esp_timer_start_X - Times_triggered - number of times the callback was triggered - Times_skipped - number of times the callback was skipped - Callback_exec_time - total time taken by callback to execute, across all calls
Print a piece of text formatted, which means in a column with a left and a right margin. The lines are wrapped at whitspaces next to right margin. The function does not indent the first line, but only the following ones. Example: arg_print_formatted( fp, 0, 5, "Some text that doesn't fit." ) will result in the following output: Some text that doesn' t fit. Too long lines will be wrapped in the middle of a word. arg_print_formatted( fp, 2, 7, "Some text that doesn't fit." ) will result in the following output: Some text that doesn' t fit. As you see, the first line is not indented. This enables output of lines, which start in a line where output already happened. Author: Uli Fouquet
Dump the list of all locks to stderr This function dumps debugging information about locks created using esp_pm_lock_create to an output stream. This function must not be called from an ISR. If esp_pm_lock_acquire/release are called while this function is running, inconsistent results may be reported.
Dump the existing VFS FDs data to FILE* fp Dump the FDs in the format: @verbatim -- where: VFS Path Prefix : file prefix used in the esp_vfs_register call FD seen by App : file descriptor returned by the vfs to the application for the path prefix FD seen by driver : file descriptor used by the driver for the same file prefix. @endverbatim
Dump all registered FSs to the provided FILE* Dump the FSs in the format: @verbatim : -> where: index : internal index in the table of registered FSs (the same as returned when registering fd with id) VFS Path Prefix : file prefix used in the esp_vfs_register call or "NULL" VFS entry ptr : pointer to the esp_vfs_fs_ops_t struct used internally when resolving the calls @endverbatim
Dumps statistics of all event loops. Dumps event loop info in the format: @verbatim event loop handler handler ... event loop handler handler ... where: event loop format: address,name rx:total_received dr:total_dropped where: address - memory address of the event loop name - name of the event loop, 'none' if no dedicated task total_received - number of successfully posted events total_dropped - number of events unsuccessfully posted due to queue being full handler format: address ev:base,id inv:total_invoked run:total_runtime where: address - address of the handler function base,id - the event specified by event base and ID this handler executes total_invoked - number of times this handler has been invoked total_runtime - total amount of time used for invoking this handler @endverbatim
Dump the information about time spent in each of the pm modes. Prints three columns: mode name, total time in mode (in microseconds), percentage of time in mode