|
Blender V4.3
|
#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 | |
| CPUKernelThreadGlobals & | operator= (const CPUKernelThreadGlobals &other)=delete |
| CPUKernelThreadGlobals & | operator= (CPUKernelThreadGlobals &&other) |
| void | start_profiling () |
| void | stop_profiling () |
Protected Member Functions | |
| void | clear_runtime_pointers () |
Protected Attributes | |
| Profiler & | cpu_profiler_ |
Additional Inherited Members | |
Public Attributes inherited from KernelGlobalsCPU | |
| KernelData | data |
| ProfilingState | profiler |
Definition at line 20 of file kernel_thread_globals.h.
| 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 | ( | ) |
Definition at line 39 of file kernel_thread_globals.cpp.
|
delete |
|
noexcept |
Definition at line 33 of file kernel_thread_globals.cpp.
|
protected |
Definition at line 65 of file kernel_thread_globals.cpp.
Referenced by CPUKernelThreadGlobals().
|
delete |
| CPUKernelThreadGlobals & CPUKernelThreadGlobals::operator= | ( | CPUKernelThreadGlobals && | other | ) |
Definition at line 52 of file kernel_thread_globals.cpp.
| void CPUKernelThreadGlobals::start_profiling | ( | ) |
Definition at line 81 of file kernel_thread_globals.cpp.
References Profiler::add_state(), cpu_profiler_, and KernelGlobalsCPU::profiler.
| void CPUKernelThreadGlobals::stop_profiling | ( | ) |
Definition at line 86 of file kernel_thread_globals.cpp.
References cpu_profiler_, KernelGlobalsCPU::profiler, and Profiler::remove_state().
|
protected |
Definition at line 43 of file kernel_thread_globals.h.
Referenced by start_profiling(), and stop_profiling().