Forum Discussion
jimbo00000
11 years agoExplorer
ovrHmd_StartPerfLog - added in SDK 0.4.3
So JeffBail brought a couple of new functions in 0.4.3 to my attention:
Did everybody know about this? Just turn it on and it dumps a 17 column row to a .csv file in C:\Users\YourUsername\AppData\Local\Oculus\ once per second.
OVR_EXPORT ovrBool ovrHmd_StartPerfLog(ovrHmd hmd, const char* fileName, const char* userData1);
OVR_EXPORT ovrBool ovrHmd_StopPerfLog(ovrHmd hmd);
Did everybody know about this? Just turn it on and it dumps a 17 column row to a .csv file in C:\Users\YourUsername\AppData\Local\Oculus\ once per second.
GUID,OS,OSVersion,Process,DisplayDriver,CameraDriver,GPU,Time,Interval,FPS,EndFrameExecutionTime,LatencyRender,LatencyTimewarp,LatencyPostPresent,LatencyVisionProc,LatencyVisionFrame,UserData1
382884121776498979,Win64,6.1.7601.18409,32 bit,1.1.9.0,0.0.1.7,NVIDIA GeForce GTX 780 Ti ,78155.333207,1.002031,379.229672,0.001366,0.000000,0.000000,0.000000,0.000000,-92559631349317831000000000000000000000000000000000000000000000.000000,
382884121776498979,Win64,6.1.7601.18409,32 bit,1.1.9.0,0.0.1.7,NVIDIA GeForce GTX 780 Ti ,78156.337177,1.001124,407.542050,0.001221,0.000000,0.000000,0.000000,0.000627,0.019096,
382884121776498979,Win64,6.1.7601.18409,32 bit,1.1.9.0,0.0.1.7,NVIDIA GeForce GTX 780 Ti ,78157.340478,1.000949,488.536573,0.000983,0.000000,0.000000,0.000000,0.000627,0.019096,
382884121776498979,Win64,6.1.7601.18409,32 bit,1.1.9.0,0.0.1.7,NVIDIA GeForce GTX 780 Ti ,78158.343054,1.000878,593.478634,0.000746,0.000000,0.000000,0.000000,0.000627,0.019096,
2 Replies
- ConstellationAdventurerOne thing I noticed is that it doesn't seem like you can create log files in other directories. I tried using "C:\\temp\\logfile.csv" and it didn't seem to work. This is a really nice feature & it deserves mention in the developer's guide.
- ConstellationAdventurerHas anyone found a way to monitor the output while a (windows) application is running? It seems the file is locked and doing "Get-Content -wait" from PowerShell and "tail -f" from cygwin don't work. I tried some other tail & log viewer applications but none of them seemed to update until the application was closed.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 3 years ago
- 1 year ago
- 7 months ago
- 6 months ago