Crate bevy_diagnostic

Source
Expand description

This crate provides a straightforward solution for integrating diagnostics in the Bevy game engine. It allows users to easily add diagnostic functionality to their Bevy applications, enhancing their ability to monitor and optimize their game’s.

Structs§

Diagnostic
A timeline of DiagnosticMeasurements of a specific type. Diagnostic examples: frames per second, CPU usage, network latency
DiagnosticMeasurement
A single measurement of a Diagnostic.
DiagnosticPath
Unique diagnostic path, separated by /.
Diagnostics
Record new DiagnosticMeasurement’s.
DiagnosticsPlugin
Adds core diagnostics resources to an App.
DiagnosticsStore
A collection of Diagnostics.
EntityCountDiagnosticsPlugin
Adds “entity count” diagnostic to an App.
FrameTimeDiagnosticsPlugin
Adds “frame time” diagnostic to an App, specifically “frame time”, “fps” and “frame count”
LogDiagnosticsPlugin
An App Plugin that logs diagnostics to the console.
SystemInfosysinfo_plugin
A resource that stores diagnostic information about the system. This information can be useful for debugging and profiling purposes.
SystemInformationDiagnosticsPluginsysinfo_plugin
Adds a System Information Diagnostic, specifically cpu_usage (in %) and mem_usage (in %)

Constants§

DEFAULT_MAX_HISTORY_LENGTH
Default max history length for new diagnostics.

Traits§

RegisterDiagnostic
Extend App with new register_diagnostic function.