# What are the in-engine tools for CPU and GPU profiling?

**URL:** <https://forums.unrealengine.com/t/what-are-the-in-engine-tools-for-cpu-and-gpu-profiling/278219>\
**Category:** Debugging, Optimization, & Profiling\
**Tags:** stats, profiling, unreal-engine, Performance, UE4, CPP, question\
**Created:** [March 24, 2014, 2:19pm UTC](https://forums.unrealengine.com/t/what-are-the-in-engine-tools-for-cpu-and-gpu-profiling/278219 "2014-03-24T14:19:23Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_9a926f8e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_9a926f8e](https://forums.unrealengine.com/u/anonymous_user_9a926f8e)\
**Post date:** [March 24, 2014, 2:19pm UTC](https://forums.unrealengine.com/t/what-are-the-in-engine-tools-for-cpu-and-gpu-profiling/278219/1 "2014-03-24T14:19:23Z")

</div>

What are the in-engine tools for CPU and GPU profiling? The console commands I have found are PROFILEGPU and all the STAT commands (UEngine::HandleStatCommand()). Are there any other in-game tools being used for CPU and GPU profiling?

Thanks.

---

<div class="post-metadata">

**Author:** ![Ravlek](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ravlek](https://forums.unrealengine.com/u/Ravlek)\
**Post date:** [March 24, 2014, 2:49pm UTC](https://forums.unrealengine.com/t/what-are-the-in-engine-tools-for-cpu-and-gpu-profiling/278219/2 "2014-03-24T14:49:11Z")

</div>

You can find the CPU profiling tool as a tab in the Session Frontend window. This can be opened from the Window/Session Frontend menu item. The GPU profiler is current just the PROFILEGPU command.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_9a926f8e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_9a926f8e](https://forums.unrealengine.com/u/anonymous_user_9a926f8e)\
**Post date:** [March 24, 2014, 5:44pm UTC](https://forums.unrealengine.com/t/what-are-the-in-engine-tools-for-cpu-and-gpu-profiling/278219/3 "2014-03-24T17:44:26Z")

</div>

What about tools to use without the editor on the test build? I want my profilings to be done without all the resources used by the editor.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_dabfce62](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_dabfce62](https://forums.unrealengine.com/u/anonymous_user_dabfce62)\
**Post date:** [March 24, 2014, 7:13pm UTC](https://forums.unrealengine.com/t/what-are-the-in-engine-tools-for-cpu-and-gpu-profiling/278219/4 "2014-03-24T19:13:35Z")

</div>

ctrl + shift + comma this is going to be your friend in engine. This command will bring up the the GPU Visualizer and allow you to see what exactly your game is doing on the GPU. As for CPU I am not sure at the moment there a few console commands within the STAT list but that is about it.

---

<div class="post-metadata">

**Author:** ![gmpreussner\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@gmpreussner\_1](https://forums.unrealengine.com/u/gmpreussner_1)\
**Post date:** [March 24, 2014, 7:40pm UTC](https://forums.unrealengine.com/t/what-are-the-in-engine-tools-for-cpu-and-gpu-profiling/278219/5 "2014-03-24T19:40:31Z")

</div>

You can access the Session Frontend from within UnrealFrontend, which is a standalone application that is much more light-weight than the Editor. You can even run Editor and UnrealFrontend on another computer and profile your game over the network. You can find UnrealFrontend in the Binaries folder.

---

<div class="post-metadata">

**Author:** ![\_Epic\_Ben\_Zeigler](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@\_Epic\_Ben\_Zeigler](https://forums.unrealengine.com/u/_Epic_Ben_Zeigler)\
**Post date:** [March 25, 2014, 4:39pm UTC](https://forums.unrealengine.com/t/what-are-the-in-engine-tools-for-cpu-and-gpu-profiling/278219/6 "2014-03-25T16:39:50Z")

</div>

You can also make stat captures of a running game without the editor being open.

Run “stat startfile” in the console to start profiling and “stat stopfile” to stop. This should save a file to Saved/Profiling. Then you can open that file from the profiler tab in the session frontend.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_15dd2896](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_15dd2896](https://forums.unrealengine.com/u/anonymous_user_15dd2896)\
**Post date:** [April 4, 2015, 10:00pm UTC](https://forums.unrealengine.com/t/what-are-the-in-engine-tools-for-cpu-and-gpu-profiling/278219/7 "2015-04-04T22:00:50Z")

</div>

I’d also like to know about this for GPU profiling (CPU profiling can be done without the editor open via the UnrealFrontend). I’ve asked it in a separate question here:

> **[GPU Profiling Without Editor Open?](https://forums.unrealengine.com/questions/206138/gpu-profiling-wo-editor-open.html)**
>
> Is there a way to open the GPU profiler (“profilegpu” command) from a game that isn’t being run through the editor? I want to do profiling without the editor open to get the most accurate results, but that command doesn’t seem to do anything if I...

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_703b3f361](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_703b3f361](https://forums.unrealengine.com/u/anonymous_user_703b3f361)\
**Post date:** [May 20, 2016, 8:19pm UTC](https://forums.unrealengine.com/t/what-are-the-in-engine-tools-for-cpu-and-gpu-profiling/278219/8 "2016-05-20T20:19:41Z")

</div>

ctrl + shift + comma doesn’t bring up the gpu visualizer. Anyone have insight into this? Works fine from within the editor but on any packaged build I am unable to see gpu timings via interface. BTW I am using 4.12.0 Preview 4

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_386398ee](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_386398ee](https://forums.unrealengine.com/u/anonymous_user_386398ee)\
**Post date:** [July 26, 2018, 9:46pm UTC](https://forums.unrealengine.com/t/what-are-the-in-engine-tools-for-cpu-and-gpu-profiling/278219/9 "2018-07-26T21:46:20Z")

</div>

“Stat Game” for CPU Profiling

Ctrl + Shift + Comma for GPU Profiling
