Navigation
Unreal Engine C++ API Reference > Runtime > Core > ProfilingDebugging > FHistogram > DumpToJsonString
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 |
FString DumpToJsonString
&40;
TFunctionRef< FString(double, double)> ConvertBinToLabel
&41; 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.