Navigation
API > API/Runtime > API/Runtime/RHI
Statistics about PSOs created at runtime, including stats for PSOs which took over a pre-defined threshold to be created. These only track PSOs requested by the renderer on the critical path (not from background precaching). Note that while slow PSO creation times usually result in a hitch at runtime, it's not a 1-to-1 correlation. There are cases where multiple PSOs are slow in a single frame and therefore cause a single hitch, and cases where a PSO might not be slow enough to cause a visible hitch for a certain frame (depending on the threshold).
| Name | FPSORuntimeCreationStats |
| Type | struct |
| Header File | /Engine/Source/Runtime/RHI/Public/PipelineStateCache.h |
| Include Path | #include "PipelineStateCache.h" |
Syntax
struct FPSORuntimeCreationStats
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bDriverCacheSuspectedUnhealthy | bool | Whether the driver cache is suspected to be unhealthy due to the number of very long creation times for precached PSO (controlled by a configurable threshold). | PipelineStateCache.h | |
| ComputePSOHitches | uint32 | The number of compute and graphics PSOs that took too long to create. | PipelineStateCache.h | |
| GraphicsPSOHitches | uint32 | PipelineStateCache.h | ||
| PreviouslyPrecachedPSOHitches | uint32 | How many of the PSOs that took too long to create were previously precached in the background. | PipelineStateCache.h | |
| SuspectedUnhealthyDriverCachePSOHitches | uint32 | How many of the PSOs that too long to create were previously precached in the background and are suspected to have hit a full compilation again. | PipelineStateCache.h | |
| TotalPSOCreations | uint32 | The total number of PSOs created after a request by the renderer. Does not include PSOs created from background precaching. | PipelineStateCache.h |