SLProject 4.0.000
Profiler.h File Reference
#include <chrono>
#include <string>
#include <vector>
#include <map>
#include <mutex>
#include <fstream>
Include dependency graph for Profiler.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  ProfilingResult
 
class  Profiler
 Utility for profiling functions/scopes and writing the results to a file. More...
 
class  ProfilerTimer
 A timer for profiling functions and scopes. More...
 

Macros

#define PROFILING   0
 
#define BEGIN_PROFILING_SESSION(filePath)
 
#define PROFILE_SCOPE(name)
 
#define PROFILE_FUNCTION()
 
#define PROFILE_THREAD(name)
 
#define PROFILER_TRACE_FILE_PATH
 
#define END_PROFILING_SESSION()
 

Macro Definition Documentation

◆ BEGIN_PROFILING_SESSION

#define BEGIN_PROFILING_SESSION (   filePath)

◆ END_PROFILING_SESSION

#define END_PROFILING_SESSION ( )

◆ PROFILE_FUNCTION

#define PROFILE_FUNCTION ( )

◆ PROFILE_SCOPE

#define PROFILE_SCOPE (   name)

◆ PROFILE_THREAD

#define PROFILE_THREAD (   name)

◆ PROFILER_TRACE_FILE_PATH

#define PROFILER_TRACE_FILE_PATH

◆ PROFILING

#define PROFILING   0