FStatsTreeElement::Contribution

Returns the contribution between 0.0 and 1.0 within the parent element.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Stats/StatsHierarchical.h

Include

#include "Stats/StatsHierarchical.h"

Source

/Engine/Source/Runtime/Core/Private/Stats/StatsHierarchical.cpp

Syntax

double Contribution
(
    bool bAgainstMaximum,
    bool bInclusive
) const

Remarks

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.

Parameters

Parameter

Description

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss