Module monitoring

Source
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.
MemoryReport
A detailed report of system memory (RAM) usage and allocation patterns.
ResourceUsageReport
A generic, unified report of resource usage, typically in bytes.
VramReport
A report of Video RAM (VRAM) usage.

Enums§

MonitoredResourceType
An enumeration of the types of resources that can be monitored.

Traits§

ResourceMonitor
The core trait for a resource monitor.
VramProvider
A trait for types that can provide VRAM usage statistics. This is typically implemented by a GraphicsDevice or a dedicated monitor in khora-infra.