CIRCT 21.0.0git
Loading...
Searching...
No Matches
Classes | Public Member Functions | Static Public Attributes | Private Attributes | List of all members
esi::services::TelemetryService Class Reference

Service for retrieving telemetry data from the accelerator. More...

#include <Services.h>

Inheritance diagram for esi::services::TelemetryService:
Inheritance graph
[legend]
Collaboration diagram for esi::services::TelemetryService:
Collaboration graph
[legend]

Classes

class  Telemetry
 A telemetry port which gets attached to a service port. More...
 

Public Member Functions

 TelemetryService (AppIDPath id, AcceleratorConnection &, ServiceImplDetails details, HWClientDetails clients)
 
virtual std::string getServiceSymbol () const override
 
virtual BundlePortgetPort (AppIDPath id, const BundleType *type) const override
 Get specialized port for this service to attach to the given appid path.
 
const std::map< AppIDPath, Telemetry * > & getTelemetryPorts ()
 
- Public Member Functions inherited from esi::services::Service
 Service (AcceleratorConnection &conn)
 
virtual ~Service ()=default
 
virtual ServicegetChildService (Service::Type service, AppIDPath id={}, std::string implName={}, ServiceImplDetails details={}, HWClientDetails clients={})
 Create a "child" service of this service.
 
AcceleratorConnectiongetConnection () const
 

Static Public Attributes

static constexpr std::string_view StdName = "esi.service.std.telemetry"
 

Private Attributes

std::map< AppIDPath, Telemetry * > telemetryPorts
 

Additional Inherited Members

- Public Types inherited from esi::services::Service
using Type = const std::type_info &
 
- Protected Attributes inherited from esi::services::Service
AcceleratorConnectionconn
 

Detailed Description

Service for retrieving telemetry data from the accelerator.

Definition at line 341 of file Services.h.

Constructor & Destructor Documentation

◆ TelemetryService()

TelemetryService::TelemetryService ( AppIDPath  id,
AcceleratorConnection conn,
ServiceImplDetails  details,
HWClientDetails  clients 
)

Definition at line 269 of file Services.cpp.

Member Function Documentation

◆ getPort()

BundlePort * TelemetryService::getPort ( AppIDPath  id,
const BundleType type 
) const
overridevirtual

Get specialized port for this service to attach to the given appid path.

Null returns mean nothing to attach.

Reimplemented from esi::services::Service.

Definition at line 279 of file Services.cpp.

References esi::services::Service::conn, esi::AcceleratorConnection::getEngineMapFor(), esi::BundleEngineMap::requestPorts(), and telemetryPorts.

◆ getServiceSymbol()

std::string TelemetryService::getServiceSymbol ( ) const
overridevirtual

Implements esi::services::Service.

Definition at line 275 of file Services.cpp.

References StdName.

◆ getTelemetryPorts()

const std::map< AppIDPath, Telemetry * > & esi::services::TelemetryService::getTelemetryPorts ( )
inline

Definition at line 376 of file Services.h.

References telemetryPorts.

Referenced by printTelemetry().

Member Data Documentation

◆ StdName

constexpr std::string_view esi::services::TelemetryService::StdName = "esi.service.std.telemetry"
staticconstexpr

◆ telemetryPorts

std::map<AppIDPath, Telemetry *> esi::services::TelemetryService::telemetryPorts
mutableprivate

Definition at line 381 of file Services.h.

Referenced by getPort(), and getTelemetryPorts().


The documentation for this class was generated from the following files: