CIRCT 21.0.0git
|
Service for retrieving telemetry data from the accelerator. More...
#include <Services.h>
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 BundlePort * | getPort (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 () |
![]() | |
Service (AcceleratorConnection &conn) | |
virtual | ~Service ()=default |
virtual Service * | getChildService (Service::Type service, AppIDPath id={}, std::string implName={}, ServiceImplDetails details={}, HWClientDetails clients={}) |
Create a "child" service of this service. | |
AcceleratorConnection & | getConnection () const |
Static Public Attributes | |
static constexpr std::string_view | StdName = "esi.service.std.telemetry" |
Private Attributes | |
std::map< AppIDPath, Telemetry * > | telemetryPorts |
Additional Inherited Members | |
![]() | |
using | Type = const std::type_info & |
![]() | |
AcceleratorConnection & | conn |
Service for retrieving telemetry data from the accelerator.
Definition at line 341 of file Services.h.
TelemetryService::TelemetryService | ( | AppIDPath | id, |
AcceleratorConnection & | conn, | ||
ServiceImplDetails | details, | ||
HWClientDetails | clients | ||
) |
Definition at line 269 of file Services.cpp.
|
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.
|
overridevirtual |
|
inline |
Definition at line 376 of file Services.h.
References telemetryPorts.
Referenced by printTelemetry().
|
staticconstexpr |
Definition at line 343 of file Services.h.
Referenced by getServiceSymbol(), and esi::services::ServiceRegistry::lookupServiceType().
Definition at line 381 of file Services.h.
Referenced by getPort(), and getTelemetryPorts().