ARC SDK
|
#include <arc/compute/ExecutionTarget.h>
Public Member Functions | |
ExecutionTarget () | |
Create an ExecutionTarget. More... | |
ExecutionTarget (const ExecutionTarget &t) | |
Create an ExecutionTarget. More... | |
ExecutionTarget (long int addrptr) | |
Create an ExecutionTarget. More... | |
void | RegisterJobSubmission (const JobDescription &jobdesc) const |
Update ExecutionTarget after succesful job submission. More... | |
Friends | |
std::ostream & | operator<< (std::ostream &out, const ExecutionTarget &et) |
Print the ExecutionTarget information. More... | |
This class describe a target which accept computing jobs. All of the members contained in this class, with a few exceptions, are directly linked to attributes defined in the GLUE Specification v. 2.0 (GFD-R-P.147).
|
inline |
Create an ExecutionTarget.
Default constructor to create an ExecutionTarget. Takes no arguments.
|
inline |
|
inline |
void Arc::ExecutionTarget::RegisterJobSubmission | ( | const JobDescription & | jobdesc | ) | const |
Update ExecutionTarget after succesful job submission.
Method to update the ExecutionTarget after a job succesfully has been submitted to the computing resource it represents. E.g. if a job is sent to the computing resource and is expected to enter the queue, then the WaitingJobs attribute is incremented with 1.
jobdesc | contains all information about the job submitted. |
|
friend |
Print the ExecutionTarget information.
Method to print the ExecutionTarget attributes to a std::ostream object.
out | the std::ostream to print the attributes to. |
et | ExecutionTarget from which to obtain information |