FHistogram::DumpToJsonString

Returns a string in a Json format: [{"Bin":"BinName","Count":Count,"Sum":Sum},...].

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "ProfilingDebugging/Histogram.h"

Source

/Engine/Source/Runtime/Core/Private/ProfilingDebugging/Histogram.cpp

Syntax

FString DumpToJsonString
(
    TFunctionRef< FString> ConvertBinToLabel
) const

Remarks

Returns a string in a Json format: [{"Bin":"BinName","Count":Count,"Sum":Sum},...]. Bucket name is constructed by calling ConvertBinToLabel on the MinValue and UpperBound for each bin. Convert function is used to allow the bin range, which is stored as a double, to be printed prettily.

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