|
CIRCT 22.0.0git
|
#include "esi/Accelerator.h"#include "esi/CLI.h"#include "esi/Manifest.h"#include "esi/Services.h"#include <algorithm>#include <iostream>#include <map>#include <stdexcept>
Go to the source code of this file.
Functions | |
| void | printInfo (std::ostream &os, AcceleratorConnection &acc, bool details) |
| void | printHier (std::ostream &os, AcceleratorConnection &acc, bool details) |
| void | printTelemetry (std::ostream &os, AcceleratorConnection &acc) |
| int | main (int argc, const char *argv[]) |
| static bool | showPort (const BundlePort &port, bool details) |
| void | printPort (std::ostream &os, const BundlePort &port, std::string indent, bool details) |
| void | printInstance (std::ostream &os, const HWModule *d, std::string indent, bool details) |
| int main | ( | int | argc, |
| const char * | argv[] | ||
| ) |
Definition at line 32 of file esiquery.cpp.
References esi::CliParser::connect(), esi::CliParser::esiParse(), esi::CliParser::getContext(), printHier(), printInfo(), and printTelemetry().
| void printHier | ( | std::ostream & | os, |
| AcceleratorConnection & | acc, | ||
| bool | details | ||
| ) |
Definition at line 151 of file esiquery.cpp.
References esi::Manifest::buildAccelerator(), esi::AcceleratorConnection::getCtxt(), esi::services::SysInfo::getJsonManifest(), esi::AcceleratorConnection::getService(), and printInstance().
Referenced by main().
| void printInfo | ( | std::ostream & | os, |
| AcceleratorConnection & | acc, | ||
| bool | details | ||
| ) |
Definition at line 75 of file esiquery.cpp.
References esi::Manifest::getApiVersion(), esi::AcceleratorConnection::getCtxt(), esi::Manifest::getModuleInfos(), esi::AcceleratorConnection::getService(), and esi::Manifest::getTypeTable().
Referenced by main().
| void printInstance | ( | std::ostream & | os, |
| const HWModule * | d, | ||
| std::string | indent, | ||
| bool | details | ||
| ) |
Definition at line 121 of file esiquery.cpp.
References esi::HWModule::getChildren(), esi::HWModule::getChildrenOrdered(), esi::HWModule::getPorts(), esi::HWModule::getPortsOrdered(), printInstance(), and printPort().
Referenced by printHier(), and printInstance().
| void printPort | ( | std::ostream & | os, |
| const BundlePort & | port, | ||
| std::string | indent, | ||
| bool | details | ||
| ) |
Definition at line 105 of file esiquery.cpp.
References esi::BundlePort::getChannels(), esi::BundlePort::getID(), and showPort().
Referenced by printInstance().
| void printTelemetry | ( | std::ostream & | os, |
| AcceleratorConnection & | acc | ||
| ) |
Definition at line 162 of file esiquery.cpp.
References esi::AcceleratorServiceThread::addPoll(), esi::Manifest::buildAccelerator(), esi::AcceleratorConnection::getCtxt(), esi::services::SysInfo::getJsonManifest(), esi::AcceleratorConnection::getService(), esi::AcceleratorConnection::getServiceThread(), and esi::services::TelemetryService::getTelemetryPorts().
Referenced by main().
|
static |
Definition at line 100 of file esiquery.cpp.
References esi::BundlePort::getChannels(), esi::BundlePort::getID(), and esi::AppID::name.
Referenced by printPort().