# druid.widget.fps_panel API > at /druid/widget/fps_panel/fps_panel.lua ## Functions - [init](#init) - [on_remove](#on_remove) - [update](#update) - [push_fps_value](#push_fps_value) ## Fields - [root](#root) - [delta_time](#delta_time) - [collect_time](#collect_time) - [collect_time_counter](#collect_time_counter) - [graph_samples](#graph_samples) - [fps_samples](#fps_samples) - [mini_graph](#mini_graph) - [text_min_fps](#text_min_fps) - [text_fps](#text_fps) - [timer_id](#timer_id) - [previous_time](#previous_time) ### init --- ```lua fps_panel:init() ``` ### on_remove --- ```lua fps_panel:on_remove() ``` ### update --- ```lua fps_panel:update([dt]) ``` - **Parameters:** - `[dt]` *(any)*: ### push_fps_value --- ```lua fps_panel:push_fps_value() ``` ## Fields - **root** (_node_) - **delta_time** (_number_): in seconds - **collect_time** (_integer_): in seconds - **collect_time_counter** (_integer_) - **graph_samples** (_number_) - **fps_samples** (_table_): Store frame time in seconds last collect_time seconds - **mini_graph** (_druid.widget.mini_graph_): Widget to display a several lines with different height in a row - **text_min_fps** (_druid.text_): Basic Druid text component. Text components by default have the text size adjusting. - **text_fps** (_druid.text_): Basic Druid text component. Text components by default have the text size adjusting. - **timer_id** (_unknown_) - **previous_time** (_unknown_)