Function ovr_sys::ovr_ResetPerfStats
source · pub unsafe extern "C" fn ovr_ResetPerfStats(
session: ovrSession
) -> ovrResult
Expand description
Resets the accumulated stats reported in each ovrPerfStatsPerCompositorFrame
back to zero.
Only the integer values such as HmdVsyncIndex, AppDroppedFrameCount etc. will be reset as the other fields such as AppMotionToPhotonLatency are independent timing values updated per-frame.
in session
Specifies an ovrSession
previously returned by ovr_Create
.
Returns an ovrResult
for which OVR_SUCCESS(result)
is false upon error and true
upon success.
see ovrPerfStats
, ovrPerfStatsPerCompositorFrame
, ovr_GetPerfStats