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
DiagnosticMeasurement
s of a specific type. Diagnostic examples: frames per second, CPU usage, network latency - Diagnostic
Measurement - A single measurement of a
Diagnostic
. - Diagnostic
Path - Unique diagnostic path, separated by
/
. - Diagnostics
- Record new
DiagnosticMeasurement
’s. - Diagnostics
Plugin - Adds core diagnostics resources to an App.
- Diagnostics
Store - A collection of
Diagnostic
s. - Entity
Count Diagnostics Plugin - Adds “entity count” diagnostic to an App.
- Frame
Time Diagnostics Plugin - Adds “frame time” diagnostic to an App, specifically “frame time”, “fps” and “frame count”
- LogDiagnostics
Plugin - An App Plugin that logs diagnostics to the console.
- System
Info sysinfo_plugin
- A resource that stores diagnostic information about the system. This information can be useful for debugging and profiling purposes.
- System
Information Diagnostics Plugin sysinfo_plugin
- Adds a System Information Diagnostic, specifically
cpu_usage
(in %) andmem_usage
(in %)
Constants§
- DEFAULT_
MAX_ HISTORY_ LENGTH - Default max history length for new diagnostics.
Traits§
- Register
Diagnostic - Extend
App
with newregister_diagnostic
function.