double priority_ = 1.0;
double bound_ = 0.0; /* Capping for CPU resource, or 0 for no capping */
double rate_ = -1; /* Capping for network resource, or -1 for no capping*/
bool is_used_ = false; /* Indicates whether the task is used in SIMIX currently */
explicit Task(std::string name, double flops_amount, double bytes_amount, void* data);
double priority_ = 1.0;
double bound_ = 0.0; /* Capping for CPU resource, or 0 for no capping */
double rate_ = -1; /* Capping for network resource, or -1 for no capping*/
bool is_used_ = false; /* Indicates whether the task is used in SIMIX currently */
explicit Task(std::string name, double flops_amount, double bytes_amount, void* data);