Blender V4.3
ProfilingHelper Class Reference

#include <profiling.h>

Inherited by ProfilingWithShaderHelper.

Public Member Functions

 ProfilingHelper (ProfilingState *state, ProfilingEvent event)
 
 ~ProfilingHelper ()
 
void set_event (ProfilingEvent event)
 

Protected Attributes

ProfilingStatestate
 
uint32_t previous_event
 

Detailed Description

Definition at line 115 of file util/profiling.h.

Constructor & Destructor Documentation

◆ ProfilingHelper()

ProfilingHelper::ProfilingHelper ( ProfilingState * state,
ProfilingEvent event )
inline

Definition at line 117 of file util/profiling.h.

References ProfilingState::event, previous_event, and state.

◆ ~ProfilingHelper()

ProfilingHelper::~ProfilingHelper ( )
inline

Definition at line 123 of file util/profiling.h.

References ProfilingState::event, previous_event, and state.

Member Function Documentation

◆ set_event()

void ProfilingHelper::set_event ( ProfilingEvent event)
inline

Definition at line 128 of file util/profiling.h.

References ProfilingState::event, and state.

Member Data Documentation

◆ previous_event

uint32_t ProfilingHelper::previous_event
protected

Definition at line 135 of file util/profiling.h.

Referenced by ProfilingHelper(), and ~ProfilingHelper().

◆ state


The documentation for this class was generated from the following file: