Expand description
Provides traits and data structures for active resource monitoring.
“Monitoring” is distinct from “metrics” in that it involves actively polling a system resource (like VRAM or a GPU) to get a snapshot of its state, whereas metrics are typically discrete, event-based measurements.
Structs§
- GpuReport
- A report of GPU performance timings for a single frame.
- Memory
Report - A detailed report of system memory (RAM) usage and allocation patterns.
- Resource
Usage Report - A generic, unified report of resource usage, typically in bytes.
- Vram
Report - A report of Video RAM (VRAM) usage.
Enums§
- Monitored
Resource Type - An enumeration of the types of resources that can be monitored.
Traits§
- Resource
Monitor - The core trait for a resource monitor.
- Vram
Provider - A trait for types that can provide VRAM usage statistics.
This is typically implemented by a
GraphicsDevice
or a dedicated monitor inkhora-infra
.