Blender  V3.3
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
CPUKernelThreadGlobals Class Reference

#include <kernel_thread_globals.h>

Inheritance diagram for CPUKernelThreadGlobals:
KernelGlobalsCPU

Public Member Functions

 CPUKernelThreadGlobals (const KernelGlobalsCPU &kernel_globals, void *osl_globals_memory, Profiler &cpu_profiler)
 
 ~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 reset_runtime_memory ()
 

Protected Attributes

Profilercpu_profiler_
 

Additional Inherited Members

- Public Attributes inherited from KernelGlobalsCPU
KernelData data
 
ProfilingState profiler
 

Detailed Description

Definition at line 19 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 
)

Definition at line 15 of file kernel_thread_globals.cpp.

References reset_runtime_memory(), and void.

◆ ~CPUKernelThreadGlobals()

CPUKernelThreadGlobals::~CPUKernelThreadGlobals ( )

Definition at line 35 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 29 of file kernel_thread_globals.cpp.

Member Function Documentation

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

Definition at line 42 of file kernel_thread_globals.cpp.

◆ reset_runtime_memory()

void CPUKernelThreadGlobals::reset_runtime_memory ( )
protected

Definition at line 55 of file kernel_thread_globals.cpp.

Referenced by CPUKernelThreadGlobals().

◆ 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 41 of file kernel_thread_globals.h.

Referenced by start_profiling(), and stop_profiling().


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