Blender V4.5
ThreadKernelGlobalsCPU Struct Reference

#include <globals.h>

Inherits KernelGlobalsCPU.

Public Member Functions

 ThreadKernelGlobalsCPU (const KernelGlobalsCPU &kernel_globals, OSLGlobals *osl_globals_memory, Profiler &cpu_profiler, const int thread_index)
 
 ThreadKernelGlobalsCPU (ThreadKernelGlobalsCPU &other)=delete
 
 ThreadKernelGlobalsCPU (ThreadKernelGlobalsCPU &&other) noexcept=default
 
ThreadKernelGlobalsCPUoperator= (const ThreadKernelGlobalsCPU &other)=delete
 
ThreadKernelGlobalsCPUoperator= (ThreadKernelGlobalsCPU &&other)=delete
 
void start_profiling ()
 
void stop_profiling ()
 

Protected Attributes

Profilercpu_profiler_
 

Additional Inherited Members

- Public Attributes inherited from KernelGlobalsCPU
KernelData data = {}
 
ProfilingState profiler
 

Detailed Description

Definition at line 59 of file device/cpu/globals.h.

Constructor & Destructor Documentation

◆ ThreadKernelGlobalsCPU() [1/3]

CCL_NAMESPACE_BEGIN ThreadKernelGlobalsCPU::ThreadKernelGlobalsCPU ( const KernelGlobalsCPU & kernel_globals,
OSLGlobals * osl_globals_memory,
Profiler & cpu_profiler,
const int thread_index )

Definition at line 13 of file device/cpu/globals.cpp.

◆ ThreadKernelGlobalsCPU() [2/3]

ThreadKernelGlobalsCPU::ThreadKernelGlobalsCPU ( ThreadKernelGlobalsCPU & other)
delete

◆ ThreadKernelGlobalsCPU() [3/3]

ThreadKernelGlobalsCPU::ThreadKernelGlobalsCPU ( ThreadKernelGlobalsCPU && other)
defaultnoexcept

Member Function Documentation

◆ operator=() [1/2]

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

◆ operator=() [2/2]

ThreadKernelGlobalsCPU & ThreadKernelGlobalsCPU::operator= ( ThreadKernelGlobalsCPU && other)
delete

◆ start_profiling()

void ThreadKernelGlobalsCPU::start_profiling ( )

◆ stop_profiling()

void ThreadKernelGlobalsCPU::stop_profiling ( )

Member Data Documentation

◆ cpu_profiler_

Profiler& ThreadKernelGlobalsCPU::cpu_profiler_
protected

Definition at line 89 of file device/cpu/globals.h.

Referenced by start_profiling(), and stop_profiling().


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