39 ACTF_EVENT_PROP_HEADER,
40 ACTF_EVENT_PROP_COMMON_CTX,
41 ACTF_EVENT_PROP_SPECIFIC_CTX,
42 ACTF_EVENT_PROP_PAYLOAD,
uint64_t actf_event_tstamp(const actf_event *ev)
Get the timestamp of an event in cycles.
const actf_fld * actf_event_prop_fldn(const actf_event *ev, const char *key, size_t len, enum actf_event_prop prop)
Same as actf_event_prop_fld() but with an explicit key length.
const actf_fld * actf_event_prop_fld(const actf_event *ev, const char *key, enum actf_event_prop prop)
Search the top-level struct of an event property for a field with name key.
void actf_event_copy(actf_event *dest, const actf_event *src)
Perform a shallow copy of an event.
actf_event_prop
Event properties.
Definition event.h:38
int64_t actf_event_tstamp_ns_from_origin(const actf_event *ev)
Get the timestamp of an event in nanoseconds from origin.
struct actf_event actf_event
An event.
Definition event.h:35
const actf_fld * actf_event_fld(const actf_event *ev, const char *key)
Search the top-level struct of all event properties for a field with name key.
const actf_event_cls * actf_event_event_cls(const actf_event *ev)
Get the class of an event.
actf_pkt * actf_event_pkt(const actf_event *ev)
Get the packet of an event.
const actf_fld * actf_event_fldn(const actf_event *ev, const char *key, size_t len)
Same as actf_event_fld() but with an explicit key length.
struct actf_pkt actf_pkt
A packet.
Definition pkt.h:33
struct actf_fld actf_fld
A field.
Definition types.h:91