SLProject  4.2.000
A platform independent 3D computer graphics framework for desktop OS, Android, iOS and online in web browsers
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:

Go to the source code of 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()
 

Detailed Description

Authors
Marino von Wattenwyl
Date
December 2021
Remarks
Please use clangformat to format the code. See more code style on https://github.com/cpvrlab/SLProject4/wiki/SLProject-Coding-Style

Definition in file Profiler.h.

Macro Definition Documentation

◆ BEGIN_PROFILING_SESSION

#define BEGIN_PROFILING_SESSION (   filePath)

Definition at line 35 of file Profiler.h.

◆ END_PROFILING_SESSION

#define END_PROFILING_SESSION ( )

Definition at line 40 of file Profiler.h.

◆ PROFILE_FUNCTION

#define PROFILE_FUNCTION ( )

Definition at line 37 of file Profiler.h.

◆ PROFILE_SCOPE

#define PROFILE_SCOPE (   name)

Definition at line 36 of file Profiler.h.

◆ PROFILE_THREAD

#define PROFILE_THREAD (   name)

Definition at line 38 of file Profiler.h.

◆ PROFILER_TRACE_FILE_PATH

#define PROFILER_TRACE_FILE_PATH

Definition at line 39 of file Profiler.h.

◆ PROFILING

#define PROFILING   0

Definition at line 25 of file Profiler.h.