FHistogramBuilder

Used to construct a histogram that runs over a custom set of ranges, while still enforcing contiguity on the bin ranges

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/ProfilingDebugging/Histogram.h

Include

#include "ProfilingDebugging/Histogram.h"

Syntax

struct FHistogramBuilder

Remarks

Used to construct a histogram that runs over a custom set of ranges, while still enforcing contiguity on the bin ranges

Constructors

Name Description

Public function

FHistogramBuilder

(
    FHistogram& InHistogram,
    double StartingValue
)

Destructors

Name Description

Public function

~FHistogramBuilder()

Functions

Name Description

Public function

void

 

AddBin

(
    double MaxValue
)

This will add a bin to the histogram, extending from the previous bin (or starting value) to the passed in MaxValue

Public function

void

 

FinishBins()

Call when done adding bins, this will create a final unbounded bin to catch values above the maximum value