# lv_sysmon.h (/api/debugging/sysmon/lv_sysmon_h)



<RelatedHeaders name="lv_sysmon_private.h" isPrivate="false" />

<ApiSummary functions="8" />

Functions [#functions]

<ApiMember kind="function" name="lv_sysmon_create" file="debugging/sysmon/lv_sysmon.h" line="47" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/debugging/sysmon/lv_sysmon.h#L47">
  lv_sysmon_create [#lv_sysmon_create]

  Create a new system monitor label

  ```c title=" " lineNumbers=1
  lv_obj_t * lv_sysmon_create(lv_display_t *disp)
  ```

  <span className="sr-only">
    Parameters
  </span>

  | Name   | Type                                                     | Description                                         |
  | ------ | -------------------------------------------------------- | --------------------------------------------------- |
  | `disp` | <ApiLink name="lv_display_t" display="lv_display_t *" /> | create the sys. mon. on this display's system layer |

  **Returns:** <ApiLink name="lv_obj_t" display="lv_obj_t *" /> — the create label
</ApiMember>

<ApiMember kind="function" name="lv_sysmon_show_performance" file="debugging/sysmon/lv_sysmon.h" line="55" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/debugging/sysmon/lv_sysmon.h#L55">
  lv_sysmon_show_performance [#lv_sysmon_show_performance]

  Show system performance monitor: CPU usage and FPS count

  ```c title=" " lineNumbers=1
  void lv_sysmon_show_performance(lv_display_t *disp)
  ```

  <span className="sr-only">
    Parameters
  </span>

  | Name   | Type                                                     | Description                                    |
  | ------ | -------------------------------------------------------- | ---------------------------------------------- |
  | `disp` | <ApiLink name="lv_display_t" display="lv_display_t *" /> | target display, NULL: use the default displays |
</ApiMember>

<ApiMember kind="function" name="lv_sysmon_hide_performance" file="debugging/sysmon/lv_sysmon.h" line="61" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/debugging/sysmon/lv_sysmon.h#L61">
  lv_sysmon_hide_performance [#lv_sysmon_hide_performance]

  Hide system performance monitor

  ```c title=" " lineNumbers=1
  void lv_sysmon_hide_performance(lv_display_t *disp)
  ```

  <span className="sr-only">
    Parameters
  </span>

  | Name   | Type                                                     | Description                           |
  | ------ | -------------------------------------------------------- | ------------------------------------- |
  | `disp` | <ApiLink name="lv_display_t" display="lv_display_t *" /> | target display, NULL: use the default |
</ApiMember>

<ApiMember kind="function" name="lv_sysmon_performance_dump" file="debugging/sysmon/lv_sysmon.h" line="67" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/debugging/sysmon/lv_sysmon.h#L67">
  lv_sysmon_performance_dump [#lv_sysmon_performance_dump]

  Dump the FPS data recorded between the last and current dump call.

  ```c title=" " lineNumbers=1
  void lv_sysmon_performance_dump(lv_display_t *disp)
  ```

  <span className="sr-only">
    Parameters
  </span>

  | Name   | Type                                                     | Description                           |
  | ------ | -------------------------------------------------------- | ------------------------------------- |
  | `disp` | <ApiLink name="lv_display_t" display="lv_display_t *" /> | target display, NULL: use the default |
</ApiMember>

<ApiMember kind="function" name="lv_sysmon_performance_resume" file="debugging/sysmon/lv_sysmon.h" line="73" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/debugging/sysmon/lv_sysmon.h#L73">
  lv_sysmon_performance_resume [#lv_sysmon_performance_resume]

  Resume the system performance monitor.

  ```c title=" " lineNumbers=1
  void lv_sysmon_performance_resume(lv_display_t *disp)
  ```

  <span className="sr-only">
    Parameters
  </span>

  | Name   | Type                                                     | Description                           |
  | ------ | -------------------------------------------------------- | ------------------------------------- |
  | `disp` | <ApiLink name="lv_display_t" display="lv_display_t *" /> | target display, NULL: use the default |
</ApiMember>

<ApiMember kind="function" name="lv_sysmon_performance_pause" file="debugging/sysmon/lv_sysmon.h" line="82" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/debugging/sysmon/lv_sysmon.h#L82">
  lv_sysmon_performance_pause [#lv_sysmon_performance_pause]

  Pause the system performance monitor.

  ```c title=" " lineNumbers=1
  void lv_sysmon_performance_pause(lv_display_t *disp)
  ```

  <span className="sr-only">
    Parameters
  </span>

  | Name   | Type                                                     | Description                           |
  | ------ | -------------------------------------------------------- | ------------------------------------- |
  | `disp` | <ApiLink name="lv_display_t" display="lv_display_t *" /> | target display, NULL: use the default |

  <Callout type="info">
    When the sysmon is stopped you can use `lv_sysmon_dump_performance` to get performance information. See `lv_sysmon_dump_performance` for more information.
  </Callout>
</ApiMember>

<ApiMember kind="function" name="lv_sysmon_show_memory" file="debugging/sysmon/lv_sysmon.h" line="93" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/debugging/sysmon/lv_sysmon.h#L93">
  lv_sysmon_show_memory [#lv_sysmon_show_memory]

  Show system memory monitor: used memory and the memory fragmentation

  ```c title=" " lineNumbers=1
  void lv_sysmon_show_memory(lv_display_t *disp)
  ```

  <span className="sr-only">
    Parameters
  </span>

  | Name   | Type                                                     | Description                                    |
  | ------ | -------------------------------------------------------- | ---------------------------------------------- |
  | `disp` | <ApiLink name="lv_display_t" display="lv_display_t *" /> | target display, NULL: use the default displays |
</ApiMember>

<ApiMember kind="function" name="lv_sysmon_hide_memory" file="debugging/sysmon/lv_sysmon.h" line="99" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/debugging/sysmon/lv_sysmon.h#L99">
  lv_sysmon_hide_memory [#lv_sysmon_hide_memory]

  Hide system memory monitor

  ```c title=" " lineNumbers=1
  void lv_sysmon_hide_memory(lv_display_t *disp)
  ```

  <span className="sr-only">
    Parameters
  </span>

  | Name   | Type                                                     | Description                                    |
  | ------ | -------------------------------------------------------- | ---------------------------------------------- |
  | `disp` | <ApiLink name="lv_display_t" display="lv_display_t *" /> | target display, NULL: use the default displays |
</ApiMember>

Dependencies [#dependencies]

<FileIncludes includes="[&#x22;lv_timer.h&#x22;, &#x22;lv_observer.h&#x22;]" includedBy="[&#x22;lv_global.h&#x22;, &#x22;lv_sysmon_private.h&#x22;]" transitiveIncludes="[&#x22;lv_anim.h&#x22;, &#x22;lv_area.h&#x22;, &#x22;lv_array.h&#x22;, &#x22;lv_assert.h&#x22;, &#x22;lv_bidi.h&#x22;, &#x22;lv_color.h&#x22;, &#x22;lv_color_op.h&#x22;, &#x22;lv_conf_internal.h&#x22;, &#x22;lv_conf_kconfig.h&#x22;, &#x22;lv_display.h&#x22;, &#x22;lv_draw.h&#x22;, &#x22;lv_draw_arc.h&#x22;, &#x22;lv_draw_blur.h&#x22;, &#x22;lv_draw_buf.h&#x22;, &#x22;lv_draw_image.h&#x22;, &#x22;lv_draw_label.h&#x22;, &#x22;lv_draw_line.h&#x22;, &#x22;lv_draw_rect.h&#x22;, &#x22;lv_draw_triangle.h&#x22;, &#x22;lv_event.h&#x22;, &#x22;lv_ext_data.h&#x22;, &#x22;lv_flex.h&#x22;, &#x22;lv_font.h&#x22;, &#x22;lv_fs.h&#x22;, &#x22;lv_grad.h&#x22;, &#x22;lv_grid.h&#x22;, &#x22;lv_group.h&#x22;, &#x22;lv_image_decoder.h&#x22;, &#x22;lv_image_dsc.h&#x22;, &#x22;lv_indev.h&#x22;, &#x22;lv_layout.h&#x22;, &#x22;lv_ll.h&#x22;, &#x22;lv_log.h&#x22;, &#x22;lv_math.h&#x22;, &#x22;lv_matrix.h&#x22;, &#x22;lv_mem.h&#x22;, &#x22;lv_obj.h&#x22;, &#x22;lv_obj_class.h&#x22;, &#x22;lv_obj_draw.h&#x22;, &#x22;lv_obj_event.h&#x22;, &#x22;lv_obj_pos.h&#x22;, &#x22;lv_obj_property.h&#x22;, &#x22;lv_obj_property_names.h&#x22;, &#x22;lv_obj_scroll.h&#x22;, &#x22;lv_obj_style.h&#x22;, &#x22;lv_obj_style_gen.h&#x22;, &#x22;lv_obj_tree.h&#x22;, &#x22;lv_palette.h&#x22;, &#x22;lv_profiler.h&#x22;, &#x22;lv_profiler_builtin.h&#x22;, &#x22;lv_sprintf.h&#x22;, &#x22;lv_string.h&#x22;, &#x22;lv_style.h&#x22;, &#x22;lv_style_gen.h&#x22;, &#x22;lv_style_properties.h&#x22;, &#x22;lv_symbol_def.h&#x22;, &#x22;lv_text.h&#x22;, &#x22;lv_tick.h&#x22;, &#x22;lv_types.h&#x22;]" />
