![]() |
Project
|
#include <ComputingResourceHelpers.h>
Static Public Member Functions | |
static ComputingResource | getLocalhostResource () |
static std::vector< ComputingResource > | parseResources (std::string const &resourceString) |
Definition at line 22 of file ComputingResourceHelpers.h.
|
static |
This will create a ComputingResource which matches what offered by localhost. Notice that the port range will always be [22000, 23000) since in any case we will use ipc:// in place of tcp://
Definition at line 25 of file ComputingResourceHelpers.cxx.
|
static |
Parse a string which contains resources specified in the following format:
<hostname>:<cpu cores>:<memory in MB>:<start port>:<last port>
Definition at line 37 of file ComputingResourceHelpers.cxx.