#include <ShaderCompiler.h>
|
| void | IncrementMaterialCook () |
| |
| void | IncrementMaterialTranslated (double InTotalTime, double InTranslationOnlyTime, double InSerializeTime) |
| |
| void | IncrementMaterialCacheHit () |
| |
| ENGINE_API void | RegisterCookedShaders (uint32 NumCooked, float CompileTime, EShaderPlatform Platform, const FString MaterialPath, FString PermutationString=FString("")) |
| |
| ENGINE_API void | RegisterCompiledShaders (uint32 NumPermutations, EShaderPlatform Platform, const FString MaterialPath, FString PermutationString=FString("")) |
| |
| const TSparseArray< ShaderCompilerStats > & | GetShaderCompilerStats () |
| |
| ENGINE_API void | WriteStats (class FOutputDevice *Ar=nullptr) |
| |
| ENGINE_API void | WriteStatSummary () |
| |
| ENGINE_API uint32 | GetTotalShadersCompiled () |
| |
| ENGINE_API void | Aggregate (FShaderCompilerStats &Other) |
| |
| ENGINE_API void | WriteToCompactBinary (FCbWriter &Writer) |
| |
| ENGINE_API void | ReadFromCompactBinary (FCbObjectView &Reader) |
| |
| ENGINE_API TSharedPtr< FJsonObject > | ToJson () |
| |
| void | SetMultiProcessAggregated () |
| |
| void | AddDDCMiss (uint32 NumMisses) |
| |
| uint32 | GetDDCMisses () const |
| |
| void | AddDDCHit (uint32 NumHits) |
| |
| uint32 | GetDDCHits () const |
| |
| double | GetTimeShaderCompilationWasActive () |
| |
| void | RegisterLocalWorkerIdleTime (double IdleTime) |
| |
| void | RegisterNewPendingJob (FShaderCommonCompileJob &InOutJob) |
| |
| void | RegisterAssignedJob (FShaderCommonCompileJob &InOutJob) |
| |
| void | RegisterFinishedJob (FShaderCommonCompileJob &InOutJob) |
| |
| void | RegisterJobBatch (int32 NumJobs, EExecutionType ExecType) |
| |
| void | RegisterDistributedBuildStats (const FDistributedBuildStats &InStats) |
| |
| void | RegisterWorkerDiagnostics (const FShaderCompileWorkerDiagnostics &InDiagnostics, FString &&InBatchLabel, int32 InBatchSize, uint32 InWorkerId) |
| |
| ENGINE_API void | GatherAnalytics (const FString &BaseName, TArray< FAnalyticsEventAttribute > &Attributes) |
| |
◆ ShaderCompilerStats
◆ EExecutionType
| Enumerator |
|---|
| Local | |
| Distributed | |
◆ AddDDCHit()
| void FShaderCompilerStats::AddDDCHit |
( |
uint32 |
NumHits | ) |
|
◆ AddDDCMiss()
| void FShaderCompilerStats::AddDDCMiss |
( |
uint32 |
NumMisses | ) |
|
◆ Aggregate()
◆ GatherAnalytics()
◆ GetDDCHits()
| uint32 FShaderCompilerStats::GetDDCHits |
( |
| ) |
const |
◆ GetDDCMisses()
| uint32 FShaderCompilerStats::GetDDCMisses |
( |
| ) |
const |
◆ GetShaderCompilerStats()
◆ GetTimeShaderCompilationWasActive()
| double FShaderCompilerStats::GetTimeShaderCompilationWasActive |
( |
| ) |
|
◆ GetTotalShadersCompiled()
| uint32 FShaderCompilerStats::GetTotalShadersCompiled |
( |
| ) |
|
◆ IncrementMaterialCacheHit()
| void FShaderCompilerStats::IncrementMaterialCacheHit |
( |
| ) |
|
◆ IncrementMaterialCook()
| void FShaderCompilerStats::IncrementMaterialCook |
( |
| ) |
|
◆ IncrementMaterialTranslated()
| void FShaderCompilerStats::IncrementMaterialTranslated |
( |
double |
InTotalTime, |
|
|
double |
InTranslationOnlyTime, |
|
|
double |
InSerializeTime |
|
) |
| |
◆ ReadFromCompactBinary()
◆ RegisterAssignedJob()
Marks the job as given out to a worker for execution for the stats purpose. Job will be modified to include the current timestamp.
◆ RegisterCompiledShaders()
| void FShaderCompilerStats::RegisterCompiledShaders |
( |
uint32 |
NumPermutations, |
|
|
EShaderPlatform |
Platform, |
|
|
const FString |
MaterialPath, |
|
|
FString |
PermutationString = FString("") |
|
) |
| |
◆ RegisterCookedShaders()
| void FShaderCompilerStats::RegisterCookedShaders |
( |
uint32 |
NumCooked, |
|
|
float |
CompileTime, |
|
|
EShaderPlatform |
Platform, |
|
|
const FString |
MaterialPath, |
|
|
FString |
PermutationString = FString("") |
|
) |
| |
◆ RegisterDistributedBuildStats()
Informs about current distributed build statistics.
◆ RegisterFinishedJob()
Marks the job as finished for the stats purpose. Job will be modified to include the current timestamp.
◆ RegisterJobBatch()
Informs statistics about a new job batch, so we can tally up batches.
◆ RegisterLocalWorkerIdleTime()
| void FShaderCompilerStats::RegisterLocalWorkerIdleTime |
( |
double |
IdleTime | ) |
|
Informs statistics about a time a local ShaderCompileWorker spent idle.
◆ RegisterNewPendingJob()
Lets the stats to know about a newly added job. Job will be modified to include the current timestamp.
◆ RegisterWorkerDiagnostics()
Informs statistics about a new worker diagnostics for a finished job batch.
◆ SetMultiProcessAggregated()
| void FShaderCompilerStats::SetMultiProcessAggregated |
( |
| ) |
|
|
inline |
◆ ToJson()
◆ WriteStats()
◆ WriteStatSummary()
| void FShaderCompilerStats::WriteStatSummary |
( |
| ) |
|
◆ WriteToCompactBinary()
| void FShaderCompilerStats::WriteToCompactBinary |
( |
FCbWriter & |
Writer | ) |
|
◆ FShaderJobCache
The documentation for this struct was generated from the following files: