# FPS counter for a simple Vulkan app

What measurement/monitoring tools could I use to get the FPS values for a simple Vulkan app?

• Is this a question related to programming of an FPS measurement or is it related to using tools to measure fps ? Nov 28 '18 at 9:39
• @PaulHK I am looking for a tool to measure the FPS of my very simple app. I am new at this; nowhere near to instrumenting my application. Nov 28 '18 at 10:31
• @Vectorizer: If it's your program, you should not be using FPS as a unit of performance measurement. Use the actual frame time instead; it's far more useful. Nov 28 '18 at 19:13

Try AMD's OCAT tool. It can overlay an FPS counter on a Vulkan or D3D12 app, similar to how FRAPS works for D3D11/OpenGL. (It should work on all Vulkan-supporting GPUs, btw, not just AMD ones.)

You might want to try the VK_LAYER_LUNARG_monitor layer from the LunarG Vulkan SDK.

VK_INSTANCE_LAYERS=VK_LAYER_LUNARG_monitor

• Unfortunately, it didn't work for vulkansdk-1.2.131.2 on ubuntu 19.10 for glfw-based app, although such layer loaded properly as inspected via VK_LOADER_DEBUG=all. But anyway, it works with vkcube. Apr 8 '20 at 8:54
• Nowdays, with the Vulkan Configurator (included in the SDK) you can enable this layer more easily. Tested on Win10 x64. Apr 13 '21 at 20:43