SLProject 4.0.000
Instrumentor.h File Reference
#include <string>
#include <chrono>
#include <algorithm>
#include <fstream>
#include <thread>
#include <mutex>
Include dependency graph for Instrumentor.h:

Classes

struct  ProfileResult
 
struct  InstrumentationSession
 
class  Instrumentor
 Basic instrumentation profiler for Google Chrome tracing format. More...
 
class  InstrumentationTimer
 

Macros

#define PROFILING   0
 
#define BEGIN_PROFILING_SESSION(name, storeInMemory, outputPath)
 
#define END_PROFILING_SESSION
 
#define PROFILE_SCOPE(name)
 
#define PROFILE_FUNCTION()
 

Typedefs

typedef std::chrono::time_point< std::chrono::high_resolution_clock > HighResTimePoint
 

Macro Definition Documentation

◆ BEGIN_PROFILING_SESSION

#define BEGIN_PROFILING_SESSION (   name,
  storeInMemory,
  outputPath 
)

◆ END_PROFILING_SESSION

#define END_PROFILING_SESSION

◆ PROFILE_FUNCTION

#define PROFILE_FUNCTION ( )

◆ PROFILE_SCOPE

#define PROFILE_SCOPE (   name)

◆ PROFILING

#define PROFILING   0

Typedef Documentation

◆ HighResTimePoint

typedef std::chrono::time_point<std::chrono::high_resolution_clock> HighResTimePoint