How to get frame times

I would like to show the frame times on my hud, basically something like:

-FPS (or frametime)

-physics frametime

-rendering frametime

I can’t seem to find how to get these values. There is some informaion in the manual on how to show these stats using console commands, but I need to look at these on an android device and I don’t want to rely on console commands anyway.

Any help is appreciated!

Thanks

Those values is not accessible via BP AFAIK. But You can use the node “Execute Console Command” to execute commands without the need to launch console and write commands.

The meaning is, you can execute those commands either on begin play or even put some HUD buttons via UMG and connect them with the the node with different calls (calls means command vales within the node) based on the button.

57392-screen+shot+2015-09-06+at+10.09.19+pm.png

-m

MY best sugggestion would be to use GetWorldDeltaSeconds this is the time between the last frame and this frame.

You can use them to get a pretty ■■■■ close estimate for FPS.

Physics and rendering frames…without c++ I cannot for the life of me think of a way to get that time displayed on a GUI widget. Thre is no get Max Substep Delta Time.

With C++ you may be able to dig into gameplay statistics and dispplay it as a string in a BPFunctionLib class.

Don’t forget to accept an answer that best clears your question up or answers it so when the community finds your question in the future via search/google they know exactly what you did to fix it/get it going.