API reference

MvrAppDraPressureEvent Struct

In Header file metavr/dra/app/AppDra.h
Pressure event delivered to the application callback.
Contains per-resource pressure with both discrete and continuous values. The version field is populated by the runtime and matches the version of MvrAppDraConfig the session was created with, allowing callers to gate access to fields added in newer versions.

Fields

CPU pressure.
Signature
MvrAppDraResourcePressure MvrAppDraPressureEvent::cpu
GPU pressure.
Signature
MvrAppDraResourcePressure MvrAppDraPressureEvent::gpu
Memory pressure.
Signature
MvrAppDraResourcePressure MvrAppDraPressureEvent::memory
version : uint32_t
Struct version.
Populated by the runtime; matches the session's MvrAppDraConfig version.
Signature
uint32_t MvrAppDraPressureEvent::version