mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-20 16:28:41 +00:00
Common: Add a built-in profiler
This commit is contained in:
parent
e40f129fdd
commit
94d9d138d9
9 changed files with 236 additions and 0 deletions
|
@ -12,6 +12,7 @@
|
|||
#include "Common/Atomic.h"
|
||||
#include "Common/CommonPaths.h"
|
||||
#include "Common/FileUtil.h"
|
||||
#include "Common/Profiler.h"
|
||||
#include "Common/StringUtil.h"
|
||||
#include "Common/Thread.h"
|
||||
#include "Common/Timer.h"
|
||||
|
@ -764,6 +765,8 @@ void Renderer::DrawDebugInfo()
|
|||
if (SConfig::GetInstance().m_ShowInputDisplay)
|
||||
debug_info += Movie::GetInputDisplay();
|
||||
|
||||
debug_info += Profiler::ToString();
|
||||
|
||||
if (GLInterface->GetMode() == GLInterfaceMode::MODE_OPENGL && g_ActiveConfig.bShowEFBCopyRegions)
|
||||
{
|
||||
// Set Line Size
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue