|
Blender V4.5
|
#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 | |
| ThreadKernelGlobalsCPU & | operator= (const ThreadKernelGlobalsCPU &other)=delete |
| ThreadKernelGlobalsCPU & | operator= (ThreadKernelGlobalsCPU &&other)=delete |
| void | start_profiling () |
| void | stop_profiling () |
Protected Attributes | |
| Profiler & | cpu_profiler_ |
Additional Inherited Members | |
Public Attributes inherited from KernelGlobalsCPU | |
| KernelData | data = {} |
| ProfilingState | profiler |
Definition at line 59 of file device/cpu/globals.h.
| 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.
|
delete |
|
defaultnoexcept |
|
delete |
|
delete |
| void ThreadKernelGlobalsCPU::start_profiling | ( | ) |
Definition at line 33 of file device/cpu/globals.cpp.
References Profiler::add_state(), cpu_profiler_, and KernelGlobalsCPU::profiler.
| void ThreadKernelGlobalsCPU::stop_profiling | ( | ) |
Definition at line 38 of file device/cpu/globals.cpp.
References cpu_profiler_, KernelGlobalsCPU::profiler, and Profiler::remove_state().
|
protected |
Definition at line 89 of file device/cpu/globals.h.
Referenced by start_profiling(), and stop_profiling().