Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FStatsTreeElement
Description
Returns the contribution between 0.0 and 1.0 within the parent element. 1.0 means that 100% of the time of the parent element is spent in this child.
| Name | Contribution |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Stats/StatsHierarchical.h |
| Include Path | #include "Stats/StatsHierarchical.h" |
| Source | /Engine/Source/Runtime/Core/Private/Stats/StatsHierarchical.cpp |
double Contribution
(
bool bAgainstMaximum,
bool bInclusive
) const
Parameters
| Name | Remarks |
|---|---|
| bAgainstMaximum | If true the ratio is expressed against the largest time in the tree |
| bInclusive | If true the time will contain the cycles used by child elements |