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§
- A timeline of
DiagnosticMeasurement
s of a specific type. Diagnostic examples: frames per second, CPU usage, network latency - A single measurement of a
Diagnostic
. - Unique diagnostic path, separated by
/
. - Record new
DiagnosticMeasurement
’s. - Adds core diagnostics resources to an App.
- A collection of
Diagnostic
s. - Adds “entity count” diagnostic to an App.
- Adds “frame time” diagnostic to an App, specifically “frame time”, “fps” and “frame count”
- An App Plugin that logs diagnostics to the console.
Constants§
- Default max history length for new diagnostics.
Traits§
- Extend
App
with newregister_diagnostic
function.