wrench::ComputeServiceIsThereAtLeastOneHostWithAvailableResourcesRequestMessage
-
class ComputeServiceIsThereAtLeastOneHostWithAvailableResourcesRequestMessage : public wrench::ComputeServiceMessage
A message sent to a ComputeService to asks if at least one host has some available resources right now.
Public Functions
-
ComputeServiceIsThereAtLeastOneHostWithAvailableResourcesRequestMessage(S4U_CommPort *answer_commport, unsigned long num_cores, double ram, double payload)
Constructor.
- Parameters:
answer_commport – the commport to which to send the answer
num_cores – the desired number of cores
ram – the desired RAM
payload – the message size in bytes
- Throws:
std::invalid_argument –
Public Members
-
S4U_CommPort *answer_commport
The commport_name to which a reply should be sent.
-
unsigned long num_cores
The number of cores desired.
-
double ram
The RAM desired.
-
ComputeServiceIsThereAtLeastOneHostWithAvailableResourcesRequestMessage(S4U_CommPort *answer_commport, unsigned long num_cores, double ram, double payload)