Module |
|
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
(
TFunctionRef< FString> ConvertBinToLabel
) const
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.