wrench Namespace Reference

Classes

class  Alarm
 A one-shot service that sends a message to a mailbox after some specified amount of time and terminates. More...
 
class  AlarmJobTimeOutMessage
 A message sent by an alarm when a job goes over its requested execution time. More...
 
class  AlarmWMSDeferredStartMessage
 Message sent by an alarm to a WMS to tell it that it can start executing its workflow. More...
 
class  BareMetalComputeService
 A compute service that manages a set of multi-core compute hosts and provides access to their resources. More...
 
class  BareMetalComputeServiceMessagePayload
 Configurable message payloads for a MultiHostMulticoreComputeService. More...
 
class  BareMetalComputeServiceProperty
 Configurable properties for a MultiHostMulticoreComputeService. More...
 
class  BatchExecuteJobFromBatSchedMessage
 A message sent by a BatschedNetworkListener to a Batsched-enabled BatchService to tell it to start a job execution, passing it the JSON reply received from Batsched. More...
 
class  BatchJob
 A batch job, which encapsulates a WorkflowJob and additional information used by a BatchService. More...
 
class  BatchQueryAnswerMessage
 A message send by a BatschedNetworkListener to a Batsched-enabled BatchService with a job start time estimate obtained from Batsched. More...
 
class  BatchService
 A batch-scheduled compute service that manages a set of compute hosts and controls access to their resource via a batch queue. More...
 
class  BatchServiceJobRequestMessage
 A message sent to a BatchService to submit a batch job for execution. More...
 
class  BatchServiceMessage
 Top-level class for messages received/sent by a BatchService. More...
 
class  BatchServiceMessagePayload
 Configurable message payloads for a BatchService. More...
 
class  BatchServiceProperty
 Configurable properties for a BatchService. More...
 
class  BatschedNetworkListener
 A helper service that handles all interaction with Batsched. More...
 
class  CloudService
 A cloud-based compute service that manages a set of physical hosts and controls access to their resources by (transparently) executing jobs in VM instances. More...
 
class  CloudServiceCreateVMAnswerMessage
 A message sent by a CloudService in answer to a VM creation request. More...
 
class  CloudServiceCreateVMRequestMessage
 A message sent to a CloudService to request a VM creation. More...
 
class  CloudServiceGetExecutionHostsAnswerMessage
 A message sent by a CloudService in answer to a list of execution hosts request. More...
 
class  CloudServiceGetExecutionHostsRequestMessage
 A message sent to a CloudService to request the list of its execution hosts. More...
 
class  CloudServiceMessage
 Top-level class for messages received/sent by a CloudService. More...
 
class  CloudServiceMessagePayload
 Configurable message payloads for a CloudService. More...
 
class  CloudServiceProperty
 Configurable properties for a CloudService. More...
 
class  CloudServiceResumeVMAnswerMessage
 A message sent by a CloudService in answer to a VM resume request. More...
 
class  CloudServiceResumeVMRequestMessage
 A message sent to a CloudService to request a VM resume. More...
 
class  CloudServiceShutdownVMAnswerMessage
 A message sent by a CloudService in answer to a VM shutdown request. More...
 
class  CloudServiceShutdownVMRequestMessage
 A message sent to a CloudService to request a VM shutdown. More...
 
class  CloudServiceStartVMAnswerMessage
 A message sent by a CloudService in answer to a VM start request. More...
 
class  CloudServiceStartVMRequestMessage
 A message sent to a CloudService to request a VM start. More...
 
class  CloudServiceSuspendVMAnswerMessage
 A message sent by a CloudService in answer to a VM suspend request. More...
 
class  CloudServiceSuspendVMRequestMessage
 A message sent to a CloudService to request a VM suspend. More...
 
class  ComputeService
 The compute service base class. More...
 
class  ComputeServiceMessage
 Top-level class for messages received/sent by a ComputeService. More...
 
class  ComputeServiceMessagePayload
 Configurable message payloads for a ComputeService. More...
 
class  ComputeServicePilotJobExpiredMessage
 A message sent by a ComputeService when a PilotJob has expired. More...
 
class  ComputeServicePilotJobFailedMessage
 A message sent by a ComputeService when a PilotJob has failed. More...
 
class  ComputeServicePilotJobStartedMessage
 A message sent by a ComputeService when a PilotJob has started its execution. More...
 
class  ComputeServiceProperty
 Configurable properties for a ComputeService. More...
 
class  ComputeServiceResourceInformationAnswerMessage
 A message sent by a ComputeService in answer to a resource information request. More...
 
class  ComputeServiceResourceInformationRequestMessage
 A message sent to a ComputeService to request information on its compute resources. More...
 
class  ComputeServiceStandardJobDoneMessage
 A message sent by a ComputeService when a StandardJob has completed execution. More...
 
class  ComputeServiceStandardJobFailedMessage
 A message sent by a ComputeService when a StandardJob has failed to execute. More...
 
class  ComputeServiceSubmitPilotJobAnswerMessage
 A message sent by a ComputeService in answer to a PilotJob submission request. More...
 
class  ComputeServiceSubmitPilotJobRequestMessage
 A message sent to a ComputeService to submit a PilotJob for execution. More...
 
class  ComputeServiceSubmitStandardJobAnswerMessage
 A message sent by a ComputeService in answer to a StandardJob submission request. More...
 
class  ComputeServiceSubmitStandardJobRequestMessage
 A message sent to a ComputeService to submit a StandardJob for execution. More...
 
class  ComputeServiceTerminatePilotJobAnswerMessage
 A message sent by a ComputeService in answer to a PilotJob termination request. More...
 
class  ComputeServiceTerminatePilotJobRequestMessage
 A message sent to a ComputeService to terminate a PilotJob previously submitted for execution. More...
 
class  ComputeServiceTerminateStandardJobAnswerMessage
 A message sent by a ComputeService in answer to a StandardJob termination request. More...
 
class  ComputeServiceTerminateStandardJobRequestMessage
 A message sent to a ComputeService to terminate a StandardJob previously submitted for execution. More...
 
class  ComputeThread
 A one-shot service that simulates a CPU-bound thread that performs a given number of flops and then reports to some mailbox saying "I am done". More...
 
class  ComputeThreadDoneMessage
 A message sent by a ComputeThread once it's done performing its computation. More...
 
class  ComputeThreadHasDied
 A "compute thread has died" failure cause. More...
 
class  CoordinateLookupAnswerMessage
 A message sent by a NetworkProximityService in answer to a coordinate lookup request. More...
 
class  CoordinateLookupRequestMessage
 A message sent to a NetworkProximityService to request a coordinate lookup. More...
 
class  DataMovementManager
 A helper daemon (co-located with a WMS) that handles data movement operations. More...
 
class  DynamicOptimization
 An abstract class that serves as a base class for implementing dynamic (i.e., at runtime) optimizations to be used by a WMS while executing a Workflow. More...
 
class  EnergyMeter
 
class  FailureCause
 A top-level class to describe all simulation-valid failures that can occur during workflow execution (and should/could be handled by a WMS) More...
 
class  FatalFailure
 An "Unknown" failure cause (should not happen) More...
 
class  FileAlreadyBeingCopied
 A "file is already there" failure cause. More...
 
class  FileCopyCompletedEvent
 A "file copy has completed" WorkflowExecutionEvent. More...
 
class  FileCopyFailedEvent
 A "file copy has failed" WorkflowExecutionEvent. More...
 
class  FileNotFound
 A "file was not found" failure cause. More...
 
class  FileRegistryAddEntryAnswerMessage
 A message sent by a FileRegistryService in answer to an entry addition request. More...
 
class  FileRegistryAddEntryRequestMessage
 A message sent to a FileRegistryService to request the addition of an entry. More...
 
class  FileRegistryFileLookupAnswerMessage
 A message sent by a FileRegistryService in answer to a file lookup request. More...
 
class  FileRegistryFileLookupByProximityAnswerMessage
 A message sent by a FileRegistryService in answer to a file lookup request, in which file locations are sorted by decreasing proximity to some reference host. More...
 
class  FileRegistryFileLookupByProximityRequestMessage
 A message sent to a FileRegistryService to request a file lookup, expecting a reply in which file locations are sorted by decreasing proximity to some reference host. More...
 
class  FileRegistryFileLookupRequestMessage
 A message sent to a FileRegistryService to request a file lookup. More...
 
class  FileRegistryMessage
 Top-level FileRegistryMessage class. More...
 
class  FileRegistryRemoveEntryAnswerMessage
 A message sent by a FileRegistryService in answer to an entry removal request. More...
 
class  FileRegistryRemoveEntryRequestMessage
 A message sent to a FileRegistryService to request the removal of an entry. More...
 
class  FileRegistryService
 A file registry service (a.k.a. replica catalog) that holds a database of which files are available at which storage services. More specifically, the database holds a set of <file, storage service> entries. A WMS can add, lookup, and remove entries at will from this database. More...
 
class  FileRegistryServiceMessagePayload
 Configurable message payload for a FileRegistryService. More...
 
class  FileRegistryServiceProperty
 Configurable properties for a FileRegistryService. More...
 
class  FunctionalityNotAvailable
 A "requested functionality is not available on that service" failure cause. More...
 
class  HostError
 A "host error" failure cause. More...
 
class  HTCondorCentralManagerService
 
class  HTCondorCentralManagerServiceMessage
 
class  HTCondorCentralManagerServiceMessagePayload
 Configurable message payloads for an HTCondor Central Manager service. More...
 
class  HTCondorNegotiatorService
 
class  HTCondorService
 A workload management framework compute service. More...
 
class  HTCondorServiceMessagePayload
 Configurable message payloads for an HTCondorService. More...
 
class  HTCondorServiceProperty
 Properties for an HTCondor service. More...
 
class  JobCannotBeForgotten
 A "job cannot be forgotten" failure cause. More...
 
class  JobCannotBeTerminated
 A "job cannot be terminated" failure cause. More...
 
class  JobKilled
 A "job has been killed" failure cause. More...
 
class  JobManager
 A helper daemon (co-located with and explicitly started by a WMS), which is used to handle all job executions. More...
 
class  JobManagerMessage
 Top-level class for messages received/sent by a JobManager. More...
 
class  JobManagerStandardJobDoneMessage
 
class  JobManagerStandardJobFailedMessage
 
class  JobTimeout
 A "job has times out" failure cause. More...
 
class  JobTypeNotSupported
 A "compute service does not support requested job type" failure cause. More...
 
class  MessageManager
 A helper class that manages messages (in terms of memory deallocation to avoid leaks when a message was sent but never received) More...
 
class  NegotiatorCompletionMessage
 
class  NetworkConnection
 A helper class that implements a network connection abstraction to be used by a service, e.g., when the service needs to limit its number of concurrent connections. More...
 
class  NetworkConnectionManager
 An abstraction that manages a pool of network connections. More...
 
class  NetworkError
 A "network error (or endpoint is down)" failure cause. More...
 
class  NetworkProximityComputeAnswerMessage
 A message received by a NetworkProximityService that updates its database of proximity values. More...
 
class  NetworkProximityDaemon
 A daemon used by a NetworkProximityService to run network measurements (proximity is computed between two such running daemons) More...
 
class  NetworkProximityLookupAnswerMessage
 A message sent by a NetworkProximityService in answer to a network proximity lookup request. More...
 
class  NetworkProximityLookupRequestMessage
 A message sent to a NetworkProximityService to request a network proximity lookup. More...
 
class  NetworkProximityMessage
 Top-level class for messages received/sent by a NetworkProximityService. More...
 
class  NetworkProximityService
 A network proximity service that continuously estimates inter-host latencies and can be queried for such estimates. More...
 
class  NetworkProximityServiceMessagePayload
 Configurable message payloads for a NetworkProximityService. More...
 
class  NetworkProximityServiceProperty
 Configurable properties for a NetworkProximityService. More...
 
class  NetworkProximityTransferMessage
 A message sent between NetworkProximityDaemon processes to perform network measurements. More...
 
class  NextContactDaemonAnswerMessage
 A message sent by a NetworkProximityService to a NetworkProximityDaemon to tell it which other NetworkProximityDaemons it should do measurements with next. More...
 
class  NextContactDaemonRequestMessage
 A message sent to a NetworkProximityService by a NetworkProximityDaemon to ask which other NetworkProximityDaemons it should do measurements with next. More...
 
class  NoScratchSpace
 A "no scratch space" failure cause. More...
 
class  NoStorageServiceForFile
 A "file cannot be found anywhere" failure cause. More...
 
class  NotEnoughResources
 A "compute service doesn't have enough cores" failure cause. More...
 
class  PilotJob
 A pilot (i.e., non-standard) workflow job that can be submitted to a ComputeService by a WMS (via a JobManager) More...
 
class  PilotJobExpiredEvent
 A "pilot job has expired" WorkflowExecutionEvent. More...
 
class  PilotJobScheduler
 A (mostly virtual) base class for implementing PilotJob scheduling algorithms to be used by a WMS. More...
 
class  PilotJobStartedEvent
 A "pilot job has started" WorkflowExecutionEvent. More...
 
class  PointerUtil
 A helper class that implements useful smart pointer operations. More...
 
class  S4U_Daemon
 A generic "running daemon" abstraction that serves as a basis for all simulated processes. More...
 
class  S4U_DaemonActor
 The S4U actor that's the foundation for the S4U_Daemon abstraction. More...
 
class  S4U_Mailbox
 Wrappers around S4U's communication methods. More...
 
class  S4U_PendingCommunication
 This is a simple wrapper class around S4U asynchronous communication checking methods. More...
 
class  S4U_Simulation
 Wrappers around S4U's basic simulation methods. More...
 
class  S4U_VirtualMachine
 A wrapper for the simgrid::s4u::VirtualMachine class. More...
 
class  Service
 A service that can be added to the simulation and that can be used by a WMS when executing a workflow. More...
 
class  ServiceDaemonStoppedMessage
 A message sent by a Service to acknowledge a terminate request. More...
 
class  ServiceFailureDetector
 
class  ServiceFailureDetectorMessage
 Top-level class for messages received/sent by a FailureDetector. More...
 
class  ServiceHaCrashedeMessage
 
class  ServiceIsDown
 A "service is down" failure cause. More...
 
class  ServiceMessage
 Top-level class for messages received/sent by a Service. More...
 
class  ServiceMessagePayload
 Configurable message payloads for a Service. More...
 
class  ServiceProperty
 Configurable properties for a Service. More...
 
class  ServiceStopDaemonMessage
 A message sent to a Service to request for it to terminate. More...
 
class  ServiceTTLExpiredMessage
 A message sent to a Service to notify it that its time-to-live has expired (which will cause the service to terminate) More...
 
class  SimpleStorageService
 A storage service that provides direct access to some storage resource (e.g., a disk) More...
 
class  SimpleStorageServiceMessagePayload
 Configurable message payloads for a SimpleStorageService. More...
 
class  SimpleStorageServiceProperty
 Configurable properties for a SimpleStorageService. More...
 
class  Simulation
 A class that provides basic simulation methods. More...
 
class  SimulationMessage
 Top-level class to describe a message communicated by processes in the simulation. More...
 
class  SimulationOutput
 A class that contains post-mortem simulation-generated data. More...
 
class  SimulationTimestamp
 A time-stamped simulation event stored in SimulationOutput. More...
 
class  SimulationTimestampEnergyConsumption
 
class  SimulationTimestampFileCopy
 A base class for simulation timestamps regarding file copies. More...
 
class  SimulationTimestampFileCopyCompletion
 A simulation timestamp class for file copy completions. More...
 
class  SimulationTimestampFileCopyFailure
 A simulation timestamp class for file copy failure times. More...
 
class  SimulationTimestampFileCopyStart
 A simulation timestamp class for file copy start times. More...
 
class  SimulationTimestampPair
 A base class for simulation timestamps. More...
 
class  SimulationTimestampPstateSet
 A simulation timestamp class for changes in a host's pstate. More...
 
class  SimulationTimestampTask
 A base class for simulation timestamps regarding workflow tasks. More...
 
class  SimulationTimestampTaskCompletion
 A simulation timestamp class for WorkflowTask completion times. More...
 
class  SimulationTimestampTaskFailure
 A simulation timestamp class for WorkflowTask failure times. More...
 
class  SimulationTimestampTaskStart
 A simulation timestamp class for WorkflowTask start times. More...
 
class  SimulationTimestampTaskTerminated
 A simulation timestamp class for WorkflowTask termination times. More...
 
class  SimulationTimestampType
 
class  SimulationTrace
 A template class to represent a trace of timestamps. More...
 
class  SimulationTrace< SimulationTimestampPstateSet >
 A specialized class to represent a trace of SimulationTimestampPstateSet timestamps. More...
 
class  StandardJob
 A standard (i.e., non-pilot) workflow job that can be submitted to a ComputeService by a WMS (via a JobManager) More...
 
class  StandardJobCompletedEvent
 A "standard job has completed" WorkflowExecutionEvent. More...
 
class  StandardJobExecutor
 A service that knows how to execute a standard job on a multi-node multi-core platform. Note that when killed in the middle of computing, this service will set (internal) running tasks' states to FAILED, and likely the calling service will want to make failed tasks READY and NOT_READY again to "unwind" the failed executions and resubmit tasks for execution. Also, this service does not increment task failure counts, as it does not know if the kill() was an actual failure (i.e., some timeout) or a feature (i.e., a WMS changing its mind) More...
 
class  StandardJobExecutorDoneMessage
 A message sent by a StandardJobExecutor to notify that it has completed a StandardJob. More...
 
class  StandardJobExecutorFailedMessage
 A message sent by a StandardJobExecutor to notify that its StandardJob has failed. More...
 
class  StandardJobExecutorMessage
 Top-level class for messages received/sent by a StandardJobExecutor. More...
 
class  StandardJobExecutorMessagePayload
 Configurable message payloads for a StandardJobExecutor. More...
 
class  StandardJobExecutorProperty
 Configurable properties for a StandardJobExecutor. More...
 
class  StandardJobFailedEvent
 A "standard job has failed" WorkflowExecutionEvent. More...
 
class  StandardJobScheduler
 A (mostly virtual) base class for implementing StandardJob scheduling algorithms to be used by a WMS. More...
 
class  StaticOptimization
 An abstract class that serves as a base class for implementing static (i.e., before workflow execution) optimizations to be used by a WMS. More...
 
class  StorageService
 The storage service base class. More...
 
class  StorageServiceFileContentMessage
 A message sent/received by a StorageService that has a file size as a payload. More...
 
class  StorageServiceFileCopyAnswerMessage
 A message sent by a StorageService in answer to a file copy request. More...
 
class  StorageServiceFileCopyRequestMessage
 A message sent to a StorageService to copy a file from another StorageService. More...
 
class  StorageServiceFileDeleteAnswerMessage
 A message sent by a StorageService in answer to a file deletion request. More...
 
class  StorageServiceFileDeleteRequestMessage
 A message sent to a StorageService to delete a file. More...
 
class  StorageServiceFileLookupAnswerMessage
 A message sent by a StorageService in answer to a file lookup request. More...
 
class  StorageServiceFileLookupRequestMessage
 A message sent to a StorageService to lookup a file. More...
 
class  StorageServiceFileReadAnswerMessage
 A message sent by a StorageService in answer to a file read request. More...
 
class  StorageServiceFileReadRequestMessage
 A message sent to a StorageService to read a file. More...
 
class  StorageServiceFileWriteAnswerMessage
 A message sent by a StorageService in answer to a file write request. More...
 
class  StorageServiceFileWriteRequestMessage
 A message sent to a StorageService to write a file. More...
 
class  StorageServiceFreeSpaceAnswerMessage
 A message sent by a StorageService in answer to a free space enquiry. More...
 
class  StorageServiceFreeSpaceRequestMessage
 A message sent to a StorageService to enquire about its free space. More...
 
class  StorageServiceMessage
 Top-level class for messages received/sent by a StorageService. More...
 
class  StorageServiceMessagePayload
 Configurable message payloads for a StorageService. More...
 
class  StorageServiceNotEnoughSpace
 A "not enough space on storage service" failure cause. More...
 
class  StorageServiceProperty
 Configurable properties for a StorageService. More...
 
class  TerminalOutput
 Color-enabling wrappers around Simgrid's XBT_INFO, XBT_DEBUG, XBT_WARN logging macros. More...
 
class  TraceFileLoader
 A class that can load a job submission trace (a.k.a. supercomputer workload) in the SWF format (see http://www.cs.huji.ac.il/labs/parallel/workload/swf.html) and store it as a vector of simulation-relevant fields. More...
 
class  UnitParser
 A class used to part string specification of values with units into a single value (e.g., "2KB" -> 2048 bytes, "2Kb" -> 256 bytes) More...
 
class  VirtualizedClusterService
 A virtualized cluster-based compute service. More...
 
class  VirtualizedClusterServiceMessage
 Top-level class for messages received/sent by a VirtualizedClusterService. More...
 
class  VirtualizedClusterServiceMessagePayload
 Configurable message payloads for a VirtualizedClusterService. More...
 
class  VirtualizedClusterServiceMigrateVMAnswerMessage
 A message sent by a VirtualizedClusterService in answer to a VM migration request. More...
 
class  VirtualizedClusterServiceMigrateVMRequestMessage
 A message sent to a VirtualizedClusterService to request a VM migration. More...
 
class  VirtualizedClusterServiceProperty
 Configurable properties for a VirtualizedClusterService. More...
 
class  WMS
 A workflow management system (WMS) More...
 
class  WMSMessage
 Top-level class for messages received/sent by a WMS. More...
 
class  Workflow
 A workflow (to be executed by a WMS) More...
 
class  WorkflowExecutionEvent
 A class to represent the various execution events that are relevant to the execution of a workflow. More...
 
class  WorkflowExecutionException
 An generic exception that is thrown whenever something unexpected (but simulation-valid) occurrs during the simulated execution of a WMS. More...
 
class  WorkflowFile
 A data file used/produced by a WorkflowTask in a Workflow. More...
 
class  WorkflowJob
 Abstraction of a job used for executing tasks in a Workflow. More...
 
class  WorkflowTask
 A computational task in a Workflow. More...
 
class  WorkloadTraceFileReplayer
 A service that goes through a job submission trace (as loaded by a TraceFileLoader), and "replays" it on a given BatchService. More...
 
class  WorkloadTraceFileReplayerEventReceiver
 A WMS that only submits a single job to a given batch service, which is used to implement batch workload replay. More...
 
class  Workunit
 A class to describe a unit of work that's a sub-component of a StandardJob. More...
 
class  WorkunitExecutor
 An service that performs a WorkUnit. More...
 
class  WorkunitExecutorDoneMessage
 A message sent by a WorkunitExecutor to notify that it has completed a WorkUnit. More...
 
class  WorkunitExecutorFailedMessage
 A message sent by a WorkunitExecutor to notify that its WorkUnit as failed. More...
 

Functions

static std::tuple< std::string, unsigned long > parseResourceSpec (std::string spec)
 Helper static function to parse resource specifications to the <cores,ram> format. More...
 

Detailed Description

Copyright (c) 2017. The WRENCH Team.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Copyright (c) 2017-2018. The WRENCH Team.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Copyright (c) 2017-2019. The WRENCH Team.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Function Documentation

◆ parseResourceSpec()

static std::tuple<std::string, unsigned long> wrench::parseResourceSpec ( std::string  spec)
static

Helper static function to parse resource specifications to the <cores,ram> format.

Parameters
specspecification string
Returns
a <cores, ram> tuple
Exceptions
std::invalid_argument