MCPcopy Create free account
hub / github.com/LibreVR/Revive / ovr_GetPerfStats

Function ovr_GetPerfStats

ReviveXR/REV_CAPI.cpp:1223–1232  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1221} ovrPerfStats1;
1222
1223OVR_PUBLIC_FUNCTION(ovrResult) ovr_GetPerfStats(ovrSession session, ovrPerfStats* outStats)
1224{
1225 REV_TRACE(ovr_GetPerfStats);
1226
1227 if (Runtime::Get().MinorVersion < 11)
1228 memset(outStats, 0, sizeof(ovrPerfStats1));
1229 else
1230 memset(outStats, 0, sizeof(ovrPerfStats));
1231 return ovrSuccess;
1232}
1233
1234OVR_PUBLIC_FUNCTION(ovrResult) ovr_ResetPerfStats(ovrSession session)
1235{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected