Module bevy::diagnostic
Expand description
Useful diagnostic plugins and types for bevy apps.
Structs
- A timeline of
DiagnosticMeasurement
s of a specific type. Diagnostic examples: frames per second, CPU usage, network latency - Unique identifier for a
Diagnostic
. - A single measurement of a
Diagnostic
. - 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
- Adds a System Information Diagnostic, specifically
cpu_usage
(in %) andmem_usage
(in %)
Constants
- The width which diagnostic names will be printed as Plugin names should not be longer than this value
Traits
- Extend
App
with newregister_diagnostic
function.