Module bevy_internal::diagnostic
source · 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 - 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.
- Adds a System Information Diagnostic, specifically
cpu_usage
(in %) andmem_usage
(in %)
Constants
- Default max history length for new diagnostics.
Traits
- Extend
App
with newregister_diagnostic
function.