cancel
Showing results for 
Search instead for 
Did you mean: 

Access Performance Statistics via shared memory?

MaartenJB
Level 2
Hi,

Is it possible to access the performance statistics as shown in the "Performance Head-Up Display" via something like shared memory? I'm building a telemetry application for a race game and want to include these statistics.

Best regards,

Maarten Bakker
4 REPLIES 4

thewhiteambit
Level 5
Shared Memory? Why? Shared between what?

MaartenJB
Level 2
Shared Memory is a memory table usually in the form of a struct, that is created and maintained by the main application. Other processes can (readonly) access this table to get this data without interrupting the main process. I assume the oculus debug tool is using something like this to get performance stats from the main VR process.

thewhiteambit
Level 5
I know what shared memory is. First developer rule: dont assume! Your question makes little sense because you put your assumption in the question. Why don't you just ask how to access performance statistics?

MaartenJB
Level 2
Hi thewhiteambit, Thanks for your lesson, can you tell me how I access the performance stats with the least amount of overhead?