8#include "dawn/io/ddata.hxx"
9#include "dawn/io/common.hxx"
10#include "dawn/porting/config.hxx"
11#include "dawn/prog/common.hxx"
12#include "dawn/prog/process_template.hxx"
28 outputData->
get<T>(idx) += 1;
47#ifdef CONFIG_DAWN_OBJECT_HAS_NAME
48 const char *getClassNameStr()
const override
Descriptor wrapper for individual object configuration.
@ PROG_CLASS_STATS_COUNT
Sample counter.
Policy-based template for sample processing implementations.
@ PROG_STATS_CFG_IOBIND
I/O binding configuration.
Sample counting statistics Program.
static ObjectCfgId objectCfg(uint8_t type, uint16_t cls, uint8_t dtype, bool rw, uint16_t size, uint8_t id)
Construct 32-bit ConfigID from component fields.
uint32_t ObjectCfgId
ConfigID type - single 32-bit value.
Out-of-tree user-extension hooks for Dawn.
@ OBJTYPE_PROG
Program/algorithm object type.
@ DTYPE_ANY
Wildcard data type (matches any actual type).
uint32_t ObjectId
ObjectID type - single 32-bit value.
static ObjectId objectId(uint8_t type, uint16_t cls, uint8_t dtype, uint8_t flags, uint16_t priv)
Construct 32-bit ObjectID from component fields.
Policy for sample counting.
Heap-allocated dynamic I/O data buffer.
T & get(size_t index, size_t batch=0)
Get data element by index and batch (type-safe).