10#include "dawn/porting/config.hxx"
45 virtual void *
getPtr(
size_t batch = 0) = 0;
75 virtual uint64_t &
getTs(
size_t batch = 0) = 0;
Out-of-tree user-extension hooks for Dawn.
uint64_t io_ts_t
Timestamp data type (uint64_t, typically microseconds since boot).
virtual bool hasTimestamp()=0
Check if this data buffer has per-batch timestamp storage.
virtual void * getPtr(size_t batch=0)=0
Get pointer to batch.
virtual size_t getItems()=0
Get number of items per batch.
virtual void * getDataPtr(size_t batch=0)=0
Get pointer to data only (skips timestamp if present).
virtual uint64_t & getTs(size_t batch=0)=0
Get timestamp reference for batch.
virtual ~io_data_cmn_t()
Virtual destructor for polymorphic cleanup.
virtual size_t getDataSize()=0
Get data size in bytes.