Blender V4.3
CPUKernelThreadGlobals Class Reference

#include <kernel_thread_globals.h>

Inherits KernelGlobalsCPU.

Public Member Functions

 CPUKernelThreadGlobals (const KernelGlobalsCPU &kernel_globals, void *osl_globals_memory, Profiler &cpu_profiler, const int thread_index)
 
 ~CPUKernelThreadGlobals ()
 
 CPUKernelThreadGlobals (const CPUKernelThreadGlobals &other)=delete
 
 CPUKernelThreadGlobals (CPUKernelThreadGlobals &&other) noexcept
 
CPUKernelThreadGlobalsoperator= (const CPUKernelThreadGlobals &other)=delete
 
CPUKernelThreadGlobalsoperator= (CPUKernelThreadGlobals &&other)
 
void start_profiling ()
 
void stop_profiling ()
 

Protected Member Functions

void clear_runtime_pointers ()
 

Protected Attributes

Profilercpu_profiler_
 

Additional Inherited Members

- Public Attributes inherited from KernelGlobalsCPU
KernelData data
 
ProfilingState profiler
 

Detailed Description

Definition at line 20 of file kernel_thread_globals.h.

Constructor & Destructor Documentation

◆ CPUKernelThreadGlobals() [1/3]

CCL_NAMESPACE_BEGIN CPUKernelThreadGlobals::CPUKernelThreadGlobals ( const KernelGlobalsCPU & kernel_globals,
void * osl_globals_memory,
Profiler & cpu_profiler,
const int thread_index )

Definition at line 13 of file kernel_thread_globals.cpp.

References clear_runtime_pointers().

◆ ~CPUKernelThreadGlobals()

CPUKernelThreadGlobals::~CPUKernelThreadGlobals ( )

Definition at line 39 of file kernel_thread_globals.cpp.

◆ CPUKernelThreadGlobals() [2/3]

CPUKernelThreadGlobals::CPUKernelThreadGlobals ( const CPUKernelThreadGlobals & other)
delete

◆ CPUKernelThreadGlobals() [3/3]

CPUKernelThreadGlobals::CPUKernelThreadGlobals ( CPUKernelThreadGlobals && other)
noexcept

Definition at line 33 of file kernel_thread_globals.cpp.

Member Function Documentation

◆ clear_runtime_pointers()

void CPUKernelThreadGlobals::clear_runtime_pointers ( )
protected

Definition at line 65 of file kernel_thread_globals.cpp.

Referenced by CPUKernelThreadGlobals().

◆ operator=() [1/2]

CPUKernelThreadGlobals & CPUKernelThreadGlobals::operator= ( const CPUKernelThreadGlobals & other)
delete

◆ operator=() [2/2]

CPUKernelThreadGlobals & CPUKernelThreadGlobals::operator= ( CPUKernelThreadGlobals && other)

Definition at line 52 of file kernel_thread_globals.cpp.

◆ start_profiling()

void CPUKernelThreadGlobals::start_profiling ( )

◆ stop_profiling()

void CPUKernelThreadGlobals::stop_profiling ( )

Member Data Documentation

◆ cpu_profiler_

Profiler& CPUKernelThreadGlobals::cpu_profiler_
protected

Definition at line 43 of file kernel_thread_globals.h.

Referenced by start_profiling(), and stop_profiling().


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