16 #ifndef SAFT_DEFINITIONS_H
17 #define SAFT_DEFINITIONS_H
21 #define ECA_EVENT_ID_LATCH UINT64_C(0xfffe000000000000)
22 #define ECA_EVENT_MASK_LATCH UINT64_C(0xfffe000000000000)
23 #define IO_CONDITION_OFFSET 5000
27 #define NON_IO_CONDITION_LABEL "WR_Event"
32 #define ECA_CONFLICT 2
35 #define ECA_OVERFLOW 5
36 #define ECA_MAX_FULL 6
40 #define ECA_EMBEDDED_CPU 2
44 #define SAFT_DABC_ACCEPT_LATE (1 << ECA_LATE)
45 #define SAFT_DABC_ACCEPT_EARLY (1 << ECA_EARLY)
46 #define SAFT_DABC_ACCEPT_CONFLICT (1 << ECA_CONFLICT)
47 #define SAFT_DABC_ACCEPT_DELAYED (1 << ECA_DELAYED)
50 #define SAFT_DABC_DESCRLEN 16
53 #define SAFT_DABC_TRIGTYPE 0xA
127 Timing_Event (uint64_t event = 0, uint64_t param = 0, uint64_t deadline = 0, uint64_t executed = 0,
128 uint64_t flags = 0, uint64_t overflows = 0,
const char* description=0) :
138 if(str==0)
return -1;
139 return snprintf(str, len,
"saftdabc::Timing_Event - event=0x%lx, param=0x%lx , deadline=0x%lx, executed=0x%lx, flags=0x%lx, overflows=0x%lx, description:%s",
The saftlib input event data structure.
Timing_Event(uint64_t event=0, uint64_t param=0, uint64_t deadline=0, uint64_t executed=0, uint64_t flags=0, uint64_t overflows=0, const char *description=0)
char fDescription[SAFT_DABC_DESCRLEN]
int InfoMessage(char *str, size_t len)
GSI Simplified API for Timing Library (saftlib) plug-in for dabc.
const char * parEventRate
Name of event rate parameter.
const char * xmlCallbackMode
switch between polling for data or callback mode
const char * xmlOffsets
WR event offsets to snoop.
const char * xmlSaftVerbose
switch between silent or verbose event receiver mode
const char * xmlInputs
EXPLODER input name items that should be latched with timestamp.
const char * xmlAcceptFlags
WR event accept flags to snoop.
const char * xmlEventIds
WR event ids to snoop.
const char * xmlTimeout
time out for polling mode
const char * xmlSaftSubeventId
const char * xmlDeviceName
name of the saft device, e.g.
const char * xmlMasks
WR event masks to snoop.
const char * xmlSaftSingleEvent
const char * xmlEventFormat
const char * commandRunMainloop
Command to invoke the glib/dbus mainloop.
#define SAFT_DABC_DESCRLEN
length of descriptor text field in timing event structure