HTGS  v2.0
The Hybrid Task Graph Scheduler
htgs::ProfileUtils Class Reference
Collaboration diagram for htgs::ProfileUtils:
Collaboration graph

Public Member Functions

 ProfileUtils (double totalTime)
 
std::string getColorForTime (double time)
 Gets the color for a given time relative to the entire graph's execution time. More...
 

Private Attributes

int rColor [10] = {0, 0, 0, 0, 85, 170, 255, 255, 255, 255}
 
int gColor [10] = {0, 85, 170, 255, 255, 255, 255, 170, 85, 0}
 
int bColor [10] = {255, 255, 255, 255, 170, 85, 0, 0, 0, 0}
 
double totalTime
 

Member Function Documentation

◆ getColorForTime()

std::string htgs::ProfileUtils::getColorForTime ( double  time)
inline

Gets the color for a given time relative to the entire graph's execution time.

Parameters
timethe time of the task
Returns
the hex color

The documentation for this class was generated from the following file: