E.g. If I was playing a game, is there any API in C++ I could use to read the FPS currently output by the GPU?
Asked
Active
Viewed 259 times
0
-
On Windows this can be done with Event Tracing for Windows. – user7860670 May 16 '20 at 11:10
-
Have you tried this? https://stackoverflow.com/questions/28530798/how-to-make-a-basic-fps-counter – Janl1 May 16 '20 at 11:12
-
1The gpu doesn't have a frame rate. Are you asking about getting the frame rate of a game externally? – George May 16 '20 at 11:16
-
@George yep that's it – APM May 16 '20 at 11:18
-
@Janl1 but that's for someone who has written a game themselves and can control when the next frame is rendered. I'd like to get the fps of a game in general – APM May 16 '20 at 11:19