Project
Loading...
Searching...
No Matches
o2::framework::DeviceSpec Struct Reference

#include <DeviceSpec.h>

Public Attributes

std::string name = "unknown"
 The name of the associated DataProcessorSpec.
 
std::string id = "unknown"
 The id of the device, including time-pipelining and suffix.
 
std::string channelPrefix = ""
 
std::vector< InputChannelSpecinputChannels
 
std::vector< OutputChannelSpecoutputChannels
 
std::vector< std::string > arguments
 
std::vector< ConfigParamSpecoptions
 
std::vector< ServiceSpecservices
 
AlgorithmSpec algorithm
 
std::vector< InputRouteinputs
 
std::vector< OutputRouteoutputs
 
std::vector< ForwardRouteforwards
 
size_t rank
 
size_t nSlots
 
size_t inputTimesliceId
 The time pipelining id of this particular device.
 
size_t maxInputTimeslices
 The maximum number of time pipelining for this device.
 
CompletionPolicy completionPolicy
 The completion policy to use for this device.
 
DispatchPolicy dispatchPolicy
 
CallbacksPolicy callbacksPolicy
 
SendingPolicy sendingPolicy
 
ResourcePolicy resourcePolicy
 
ComputingResource resource
 
unsigned short resourceMonitoringInterval
 
std::vector< DataProcessorLabellabels
 
std::vector< DataProcessorMetadatametadata
 

Detailed Description

Concrete description of the device which will actually run a DataProcessor.

You can get a reference to this by retrieving it from the ServiceRegistry. E.g.:

auto &deviceSpec = ctx.services().get<DeviceSpec const>();

Definition at line 48 of file DeviceSpec.h.

Member Data Documentation

◆ algorithm

AlgorithmSpec o2::framework::DeviceSpec::algorithm

Definition at line 60 of file DeviceSpec.h.

◆ arguments

std::vector<std::string> o2::framework::DeviceSpec::arguments

Definition at line 56 of file DeviceSpec.h.

◆ callbacksPolicy

CallbacksPolicy o2::framework::DeviceSpec::callbacksPolicy

Definition at line 74 of file DeviceSpec.h.

◆ channelPrefix

std::string o2::framework::DeviceSpec::channelPrefix = ""

Definition at line 53 of file DeviceSpec.h.

◆ completionPolicy

CompletionPolicy o2::framework::DeviceSpec::completionPolicy

The completion policy to use for this device.

Definition at line 72 of file DeviceSpec.h.

◆ dispatchPolicy

DispatchPolicy o2::framework::DeviceSpec::dispatchPolicy

Definition at line 73 of file DeviceSpec.h.

◆ forwards

std::vector<ForwardRoute> o2::framework::DeviceSpec::forwards

Definition at line 64 of file DeviceSpec.h.

◆ id

std::string o2::framework::DeviceSpec::id = "unknown"

The id of the device, including time-pipelining and suffix.

Definition at line 52 of file DeviceSpec.h.

◆ inputChannels

std::vector<InputChannelSpec> o2::framework::DeviceSpec::inputChannels

Definition at line 54 of file DeviceSpec.h.

◆ inputs

std::vector<InputRoute> o2::framework::DeviceSpec::inputs

Definition at line 62 of file DeviceSpec.h.

◆ inputTimesliceId

size_t o2::framework::DeviceSpec::inputTimesliceId

The time pipelining id of this particular device.

Definition at line 68 of file DeviceSpec.h.

◆ labels

std::vector<DataProcessorLabel> o2::framework::DeviceSpec::labels

Definition at line 81 of file DeviceSpec.h.

◆ maxInputTimeslices

size_t o2::framework::DeviceSpec::maxInputTimeslices

The maximum number of time pipelining for this device.

Definition at line 70 of file DeviceSpec.h.

◆ metadata

std::vector<DataProcessorMetadata> o2::framework::DeviceSpec::metadata

Definition at line 82 of file DeviceSpec.h.

◆ name

std::string o2::framework::DeviceSpec::name = "unknown"

The name of the associated DataProcessorSpec.

Definition at line 50 of file DeviceSpec.h.

◆ nSlots

size_t o2::framework::DeviceSpec::nSlots

Definition at line 66 of file DeviceSpec.h.

◆ options

std::vector<ConfigParamSpec> o2::framework::DeviceSpec::options

Definition at line 57 of file DeviceSpec.h.

◆ outputChannels

std::vector<OutputChannelSpec> o2::framework::DeviceSpec::outputChannels

Definition at line 55 of file DeviceSpec.h.

◆ outputs

std::vector<OutputRoute> o2::framework::DeviceSpec::outputs

Definition at line 63 of file DeviceSpec.h.

◆ rank

size_t o2::framework::DeviceSpec::rank

Definition at line 65 of file DeviceSpec.h.

◆ resource

ComputingResource o2::framework::DeviceSpec::resource

Definition at line 79 of file DeviceSpec.h.

◆ resourceMonitoringInterval

unsigned short o2::framework::DeviceSpec::resourceMonitoringInterval

Definition at line 80 of file DeviceSpec.h.

◆ resourcePolicy

ResourcePolicy o2::framework::DeviceSpec::resourcePolicy

Policy on when the available resources are enough to run a computation.

Definition at line 78 of file DeviceSpec.h.

◆ sendingPolicy

SendingPolicy o2::framework::DeviceSpec::sendingPolicy

Definition at line 75 of file DeviceSpec.h.

◆ services

std::vector<ServiceSpec> o2::framework::DeviceSpec::services

Definition at line 58 of file DeviceSpec.h.


The documentation for this struct was generated from the following file: