31#ifndef DWFRAMEWORK_DWNODES_DWTRACE_TRACECOLLECTORNODE_DWTRACECOLLECTORNODE_HPP_
32#define DWFRAMEWORK_DWNODES_DWTRACE_TRACECOLLECTORNODE_DWTRACECOLLECTORNODE_HPP_
34#include <dwtrace/dw/trace/core/TraceTypes.hpp>
40#include <dwframework/dwnodes/common/channelpackets/SensorCommonTypes.hpp>
52 bool stmControlTracing;
97 static constexpr char8_t LOG_TAG[]{
"dwTraceCollectorNode"};
122 describePass(StringView{
"SETUP"}, DW_PROCESSOR_TYPE_CPU),
123 describePass(StringView{
"PASS_PROCESS"}, DW_PROCESSOR_TYPE_CPU),
124 describePass(StringView{
"TEARDOWN"}, DW_PROCESSOR_TYPE_CPU));
132 return describeConstructorArguments<dwTraceCollectorNodeParams, dwContextHandle_t>(
136 "stmControlTracing"_sv,
137 &dwTraceCollectorNodeParams::stmControlTracing),
143 dw::core::FixedString<384>,
152 "fileBackendEnabled"_sv,
156 "networkBackendEnabled"_sv,
159 dw::core::FixedString<16>,
168 "nvtxBackendEnabled"_sv,
176 "ftraceBackendEnabled"_sv,
180 "memTraceEnabled"_sv,
188 "diskIOStatsEnabled"_sv,
196 dwContextHandle_t)));
208 if (asyncResetNode !=
nullptr)
214 dw::core::Logger::Verbosity::DEBUG);
222 if (asyncResetNode !=
nullptr)
228 dw::core::Logger::Verbosity::DEBUG);
#define DW_DESCRIBE_UNNAMED_PARAMETER(TYPE_NAME, args...)
#define DW_DESCRIBE_PARAMETER(TYPE_NAME, args...)
#define DW_DESCRIBE_PORT_ARRAY(TYPE_NAME, ARRAYSIZE, args...)
static dwStatus guardWithReturn(TryBlock const &tryBlock, ::dw::core::Logger::Verbosity verbosity=::dw::core::Logger::Verbosity::ERROR)
std::unique_ptr< Node > m_impl
virtual dwStatus setAsyncReset()=0
Set the async reset flag.
virtual dwStatus executeAsyncReset()=0
Executes a reset if the async reset flag is set.
The interface to access parameter values identified by name and/or (semantic) type.
static constexpr auto describeParameters()
dwStatus setAsyncReset() override
static constexpr auto describeOutputPorts()
static constexpr auto describePasses()
dwTraceCollectorNode(const dwTraceCollectorNodeParams ¶ms, const dwContextHandle_t ctx)
static constexpr char8_t LOG_TAG[]
dwStatus executeAsyncReset() override
static std::unique_ptr< dwTraceCollectorNode > create(ParameterProvider &provider)
static constexpr auto describeInputPorts()
bool ftraceBackendEnabled
dw::core::FixedString< 16 > ipAddr
constexpr auto describeConstructorArgument(const Args &&... args) -> dw::core::Tuple< Args... >
dw::core::FixedString< 384 > filePath
constexpr auto describePassCollection(const Args &&... args) -> std::tuple< Args... >
constexpr auto describePortCollection(Args &&... args) -> dw::core::Tuple< Args... >
constexpr PassDescriptorT< 0 > describePass(dw::core::StringView const &&name, dwProcessorType processorType)
dwTraceCollectorNodeParams { bool stmControlTracing dwTraceCollectorNodeParams
bool networkBackendEnabled
static constexpr uint32_t MAX_INPUT_TRACE_PORTS