getHeatColor overloads
Synopses
Declared in <llvm/Analysis/HeatUtils.h>
Calculate a heat color from a percent of hotness.
std::string
getHeatColor(double Percent);
Calculate a heat color from a frequency relative to a maximum.
std::string
getHeatColor(
uint64_t Freq,
uint64_t MaxFreq);
Return Value
-
Heat color string corresponding to
Percent. -
Heat color string corresponding to
Freq/MaxFreq.
Parameters
Name |
Description |
Percent |
Hotness percent in the range [0.0, 1.0]. |
Freq |
Current frequency value. |
MaxFreq |
Maximum frequency used for normalization. |
Created with MrDocs