Blender
V3.3
|
#include <kernel_thread_globals.h>
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 | |
CPUKernelThreadGlobals & | operator= (const CPUKernelThreadGlobals &other)=delete |
CPUKernelThreadGlobals & | operator= (CPUKernelThreadGlobals &&other) |
void | start_profiling () |
void | stop_profiling () |
Protected Member Functions | |
void | reset_runtime_memory () |
Protected Attributes | |
Profiler & | cpu_profiler_ |
Additional Inherited Members | |
![]() | |
KernelData | data |
ProfilingState | profiler |
Definition at line 19 of file kernel_thread_globals.h.
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 | ( | ) |
Definition at line 35 of file kernel_thread_globals.cpp.
|
delete |
|
noexcept |
Definition at line 29 of file kernel_thread_globals.cpp.
|
delete |
CPUKernelThreadGlobals & CPUKernelThreadGlobals::operator= | ( | CPUKernelThreadGlobals && | other | ) |
Definition at line 42 of file kernel_thread_globals.cpp.
|
protected |
Definition at line 55 of file kernel_thread_globals.cpp.
Referenced by CPUKernelThreadGlobals().
void CPUKernelThreadGlobals::start_profiling | ( | ) |
Definition at line 62 of file kernel_thread_globals.cpp.
References Profiler::add_state(), cpu_profiler_, and KernelGlobalsCPU::profiler.
void CPUKernelThreadGlobals::stop_profiling | ( | ) |
Definition at line 67 of file kernel_thread_globals.cpp.
References cpu_profiler_, KernelGlobalsCPU::profiler, and Profiler::remove_state().
|
protected |
Definition at line 41 of file kernel_thread_globals.h.
Referenced by start_profiling(), and stop_profiling().