SLProject  4.2.000
A platform independent 3D computer graphics framework for desktop OS, Android, iOS and online in web browsers
Instrumentor.h File Reference
#include <string>
#include <chrono>
#include <algorithm>
#include <fstream>
#include <thread>
#include <mutex>
Include dependency graph for Instrumentor.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

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 
)

Definition at line 38 of file Instrumentor.h.

◆ END_PROFILING_SESSION

#define END_PROFILING_SESSION

Definition at line 39 of file Instrumentor.h.

◆ PROFILE_FUNCTION

#define PROFILE_FUNCTION ( )

Definition at line 41 of file Instrumentor.h.

◆ PROFILE_SCOPE

#define PROFILE_SCOPE (   name)

Definition at line 40 of file Instrumentor.h.

◆ PROFILING

#define PROFILING   0

Definition at line 29 of file Instrumentor.h.

Typedef Documentation

◆ HighResTimePoint

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

Definition at line 187 of file Instrumentor.h.