MCPcopy Create free account

hub / github.com/bonsairobo/bevy_metrics_dashboard / functions

Functions97 in github.com/bonsairobo/bevy_metrics_dashboard

↓ 16 callersMethodname
Name of the plot.
src/plots.rs:489
↓ 14 callersMethodpush
Overwrites the oldest element if capacity limit is reached.
src/ring.rs:39
↓ 9 callersMethodadd
(&mut self, value: f64)
src/plots.rs:633
↓ 6 callersFunctionmake_search_result
( kind: MetricKind, key: &metrics::Key, descriptions: &HashMap<DescriptionKey, MetricDescription>,
src/registry.rs:146
↓ 4 callersMethodset_max_len
(&mut self, new_max_len: usize)
src/ring.rs:22
↓ 4 callersFunctionwindow_size_slider
(size: &mut usize)
src/plots.rs:616
↓ 3 callersMethodadd_description_if_missing
(&self, key: DescriptionKey, description: MetricDescription)
src/registry.rs:129
↓ 3 callersMethodconfigure_ui
(&mut self, enable_window_size: bool, ui: &mut Ui)
src/plots.rs:221
↓ 3 callersFunctionunit_str
(unit: Unit)
src/lib.rs:58
↓ 2 callersMethodadd_plot
Add a new [`MetricPlot`] to this window.
src/dashboard_window.rs:148
↓ 2 callersFunctionadd_value_to_bucket
(bucket_bounds: &[f64], value: f64, bucket_counts: &mut [u32])
src/plots.rs:536
↓ 2 callersFunctionderivative
(points: &mut Vec<PlotPoint>)
src/plots.rs:643
↓ 2 callersMethoddetailed_text
Display the complete information of a search result. `display_path` will override the key's name, which is used for removing layers of namespacing.
src/registry.rs:222
↓ 2 callersMethoddraw
Draw the plot using `ui`.
src/plots.rs:527
↓ 2 callersMethodget_bounds
Calculate bounds of all buckets.
src/plots.rs:139
↓ 2 callersMethodget_or_create_counter
(&self, key: &metrics::Key)
src/registry.rs:60
↓ 2 callersMethodget_or_create_gauge
(&self, key: &metrics::Key)
src/registry.rs:64
↓ 2 callersMethodget_or_create_histogram
(&self, key: &metrics::Key)
src/registry.rs:68
↓ 2 callersMethodhandle_global_config
(&mut self, dash_config: &DashboardConfig)
src/plots.rs:214
↓ 2 callersMethodid
The window's [`egui::Id`].
src/namespace_tree.rs:55
↓ 2 callersMethoditer_chronological
(&self)
src/ring.rs:46
↓ 2 callersMethodkey
The key of the metric being plotted.
src/plots.rs:494
↓ 2 callersMethodlatest
(&self)
src/ring.rs:34
↓ 2 callersMethodmake_plot_points
(&self)
src/ring.rs:50
↓ 1 callersMethodall_metrics
Get a search result for every registered metric.
src/registry.rs:109
↓ 1 callersMethodclamp_max
Prevent `self.max <= self.min` by clamping `self.max`.
src/plots.rs:134
↓ 1 callersMethodclamp_min
Prevent `self.min >= self.max` by clamping `self.min`.
src/plots.rs:129
↓ 1 callersMethodclear_atomic_buckets
Clear all atomic buckets used for storing histogram data.
src/registry.rs:135
↓ 1 callersMethodclone_config
Clone this plot's configuration.
src/plots.rs:499
↓ 1 callersMethodconfigure_ui
Draw the plot configuration UI.
src/dashboard_window.rs:172
↓ 1 callersMethoddraw
Draw the widget and accept user input. If the user selects a metric, it will be returned.
src/namespace_tree.rs:98
↓ 1 callersFunctiondraw_plot
( dash_config: &DashboardConfig, name: &str, unit: Option<Unit>, data: &mut MetricPlotData,
src/plots.rs:544
↓ 1 callersMethoddraw_plots
Draw all [`MetricPlot`]s in this window.
src/dashboard_window.rs:186
↓ 1 callersFunctiondropdown_list
Returns the iterator element corresponding to the newly-selected item.
src/dropdown_list.rs:4
↓ 1 callersMethodfuzzy_search_by_name
Search the registry for metrics whose name matches `input`. Empty `input` will match everything. Results are not returned in any particular order.
src/registry.rs:81
↓ 1 callersMethodmake_bar_chart
(&self)
src/plots.rs:372
↓ 1 callersMethodmax_len
(&self)
src/ring.rs:18
↓ 1 callersMethodplot_selected_search_result
If a result from the [`SearchBar`] is selected, a corresponding [`MetricPlot`] will be added to this window.
src/dashboard_window.rs:129
↓ 1 callersMethodsmoothed_value
(&self)
src/plots.rs:638
↓ 1 callersMethodtitle
The window title.
src/dashboard_window.rs:57
↓ 1 callersMethodtitle
The text used when displaying search results and assigning a title to a plot.
src/registry.rs:178
↓ 1 callersMethodupdate
(&mut self)
src/plots.rs:233
↓ 1 callersMethodupdate_bounds_from_input
(&mut self)
src/plots.rs:360
↓ 1 callersMethodupdate_plots
Calls [`MetricPlot::update`] on all plots in this window.
src/dashboard_window.rs:76
Methodbuild
(&self, app: &mut bevy::prelude::App)
src/dashboard_plugin.rs:14
Methodbuild
(&self, app: &mut App)
src/render_metrics_plugin.rs:10
Methodbuild
(&self, app: &mut bevy::prelude::App)
src/registry_plugin.rs:41
Methodbuild
(&self, app: &mut App)
src/core_metrics_plugin.rs:8
Methodclear_atomic_buckets_system
(registry: Res<Self>)
src/registry.rs:141
Methodconfig
This window's configuration.
src/dashboard_window.rs:62
Functioncreate_dashboard
(mut commands: Commands)
examples/many_metrics.rs:71
Functioncreate_dashboard
(mut commands: Commands)
examples/namespace_tree.rs:53
Functioncreate_dashboard
(mut commands: Commands)
examples/stress.rs:23
Methodcreate_parent_node
(group_name: &str, children: Vec<Self>)
src/namespace_tree.rs:231
Methoddefault
()
src/search_bar.rs:22
Methoddefault
()
src/plots.rs:53
Methoddefault
()
src/registry.rs:158
Methoddefault_for_kind
Default configuration for the given `kind` of metric being plotted.
src/plots.rs:34
Functiondescribe_core_metrics
()
src/core_metrics_plugin.rs:14
Methoddescribe_counter
(&self, key_name: KeyName, unit: Option<Unit>, description: SharedString)
src/registry.rs:271
Methoddescribe_gauge
(&self, key_name: KeyName, unit: Option<Unit>, description: SharedString)
src/registry.rs:284
Methoddescribe_histogram
(&self, key_name: KeyName, unit: Option<Unit>, description: SharedString)
src/registry.rs:297
Functiondescribe_metrics
()
examples/many_metrics.rs:20
Functiondescribe_metrics
()
examples/namespace_tree.rs:20
Functiondescribe_render_metrics
()
src/render_metrics_plugin.rs:16
Methoddraw
Draw the widget and accept user input. If the user selects one of the search results, it will be returned.
src/search_bar.rs:42
Methoddraw_all
Bevy system that draws all namespace tree window entities.
src/namespace_tree.rs:66
Methoddraw_all
Bevy system that draws all [`DashboardWindow`] entities into the [`bevy_egui::EguiContexts`]. Also handles [`RequestPlot`] events by creating a new p
src/dashboard_window.rs:87
Methoddraw_recursive
(nodes: &[NamespaceNode], selected: &mut Option<SearchResult>, ui: &mut Ui)
src/namespace_tree.rs:125
Methodfrom
(value: &MetricKey)
src/registry.rs:201
Methodget_description
(&self, key: &DescriptionKey)
src/registry.rs:72
Functionmain
()
examples/many_metrics.rs:9
Functionmain
()
examples/namespace_tree.rs:9
Functionmain
()
examples/stress.rs:10
Functionmetric_kind_str
(kind: MetricKind)
src/lib.rs:50
Functionmove_camera
(time: Res<Time>, mut camera_query: Query<&mut Transform, With<Camera>>)
examples/stress.rs:67
Methodnew
Create an empty search bar.
src/search_bar.rs:29
Methodnew
Create a new window.
src/namespace_tree.rs:33
Methodnew
(config: CounterPlotConfig, source: Arc<AtomicU64>)
src/plots.rs:205
Methodnew
Create a default plugin.
src/registry_plugin.rs:24
Methodnew
Create a new dashboard window without any plots.
src/dashboard_window.rs:47
Methodnew
(max_len: usize)
src/ring.rs:11
Methodnew
()
src/registry.rs:43
Methodregister_counter
(&self, key: &metrics::Key, _metadata: &Metadata<'_>)
src/registry.rs:310
Methodregister_gauge
(&self, key: &metrics::Key, _metadata: &Metadata<'_>)
src/registry.rs:316
Methodregister_histogram
(&self, key: &metrics::Key, _metadata: &Metadata<'_>)
src/registry.rs:322
Methodset_refresh_period
Set the time between updates of the tree.
src/namespace_tree.rs:60
Functionsetup
(mut commands: Commands, assets: Res<AssetServer>)
examples/stress.rs:27
Methodtitle
The window's title.
src/namespace_tree.rs:50
Methodtree_from_results
(results: &mut [SearchResult])
src/namespace_tree.rs:164
Methodtree_from_sorted_results_recursive
( mut results: &[SearchResult], path_start: usize, )
src/namespace_tree.rs:169
Functionupdate_core_metrics
(entities: &Entities, time: Res<Time>)
src/core_metrics_plugin.rs:29
Functionupdate_metrics
()
examples/many_metrics.rs:76
Functionupdate_metrics
()
examples/namespace_tree.rs:58
Methodupdate_plots_on_all_windows
Bevy system that calls [`Self::update_plots`] on all window entities.
src/dashboard_window.rs:67
Functionupdate_render_metrics
( cameras_2d: Query<(Entity, &VisibleEntities), With<Camera2d>>, cameras_3d: Query<(Entity, &VisibleEn
src/render_metrics_plugin.rs:29
Methodwith_registry
Provide your own instance of a registry. WARNING: Using this constructor will silence errors if it fails to call [`set_global_recorder`], assuming th
src/registry_plugin.rs:33