Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FShaderCompileThreadRunnable
- FShaderCompileThreadRunnableBase::PrintWorkerMemoryUsage()
- FShaderCompileThreadRunnable::PrintWorkerMemoryUsage()
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/ShaderCompiler.h |
| Include | #include "ShaderCompiler.h" |
| Source | /Engine/Source/Runtime/Engine/Private/ShaderCompiler/ShaderCompilerThreadRunnable.cpp |
virtual bool PrintWorkerMemoryUsage
(
bool bAllowToWaitForLock
)
Remarks
Tries to print out the memory usage of all shader compile workers. When called during an out-of-memory event, it is useful to allow this process to wait for any locks, so we can rule out deadlocks while reporting out-of-memory errors. Returns whether the memory usage was successfully printed.