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(simgrid::s4u::Mailbox *answer_mailbox, unsigned long num_cores, double ram, double payload)
Constructor.
- Parameters:
answer_mailbox – the mailbox 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 –
-
ComputeServiceIsThereAtLeastOneHostWithAvailableResourcesRequestMessage(simgrid::s4u::Mailbox *answer_mailbox, unsigned long num_cores, double ram, double payload)