GREM 3.12.0
Game/Rendering Engine Modules for C++
Loading...
Searching...
No Matches
profiling.hpp File Reference

Go to the source code of this file.

Classes

class  grem::ProfileFormats
 Set of formats to save profile data in. More...

Namespaces

namespace  grem

Macros

#define GREM_PROFILER_SET_THREAD_INFO(threadName, threadIndex, parentThreadID)
#define GREM_PROFILER_BEGIN_FRAME()
#define GREM_PROFILER_END_FRAME()
#define GREM_PROFILER_SAVE_NEXT_N_FRAMES(frameCount, outputFilepathPrefix, outputFormats)
#define GREM_PROFILER_SAVE_NEXT_FRAME(outputFilepathPrefix, outputFormats)
#define GREM_PROFILE_BLOCK(staticString)
#define GREM_PROFILE_BLOCK_DYNAMIC(dynamicString)
#define GREM_PROFILE_FUNCTION()
#define GREM_PROFILE_CONSTRUCTOR_BEGIN()
#define GREM_PROFILE_CONSTRUCTOR_END()

Enumerations

enum class  grem::ProfileFormat : uint8_t { grem::BINARY = 1 << 0 , grem::JSON = 1 << 1 , grem::TRACE_EVENT_FORMAT = 1 << 2 }
 Format to save profile data in. More...

Functions

constexpr ProfileFormats grem::operator~ (ProfileFormat a) noexcept
 Get the complement of a profile format.
constexpr ProfileFormats grem::operator| (ProfileFormat a, ProfileFormat b) noexcept
 Get the union of two profile formats.

Macro Definition Documentation

◆ GREM_PROFILER_SET_THREAD_INFO

#define GREM_PROFILER_SET_THREAD_INFO ( threadName,
threadIndex,
parentThreadID )
Value:
((void)0)

◆ GREM_PROFILER_BEGIN_FRAME

#define GREM_PROFILER_BEGIN_FRAME ( )
Value:
((void)0)

◆ GREM_PROFILER_END_FRAME

#define GREM_PROFILER_END_FRAME ( )
Value:
((void)0)

◆ GREM_PROFILER_SAVE_NEXT_N_FRAMES

#define GREM_PROFILER_SAVE_NEXT_N_FRAMES ( frameCount,
outputFilepathPrefix,
outputFormats )
Value:
((void)0)

◆ GREM_PROFILER_SAVE_NEXT_FRAME

#define GREM_PROFILER_SAVE_NEXT_FRAME ( outputFilepathPrefix,
outputFormats )
Value:
((void)0)

◆ GREM_PROFILE_BLOCK

#define GREM_PROFILE_BLOCK ( staticString)
Value:
((void)0)

◆ GREM_PROFILE_BLOCK_DYNAMIC

#define GREM_PROFILE_BLOCK_DYNAMIC ( dynamicString)
Value:
((void)0)

◆ GREM_PROFILE_FUNCTION

#define GREM_PROFILE_FUNCTION ( )
Value:
((void)0)

◆ GREM_PROFILE_CONSTRUCTOR_BEGIN

#define GREM_PROFILE_CONSTRUCTOR_BEGIN ( )
Value:
struct GREM_private_constructorProfiler {}

◆ GREM_PROFILE_CONSTRUCTOR_END

#define GREM_PROFILE_CONSTRUCTOR_END ( )
Value:
struct GREM_private_constructorProfilerStopper {}