WAND Trace processing  4.0.5
libtrace_eventobj_t Struct Reference

Structure returned by libtrace_event explaining what the current event is. More...

Data Fields

libtrace_event_t type
 Event type (iowait,sleep,packet) More...
 
int fd
 If the event is IOWAIT, the file descriptor to wait on. More...
 
double seconds
 If the event is SLEEP, the amount of time to sleep for in seconds. More...
 
int size
 If the event is PACKET, the value returned by trace_read_packet() More...
 

Detailed Description

Structure returned by libtrace_event explaining what the current event is.

Field Documentation

int libtrace_eventobj_t::fd

If the event is IOWAIT, the file descriptor to wait on.

Referenced by trace_event_device().

double libtrace_eventobj_t::seconds

If the event is SLEEP, the amount of time to sleep for in seconds.

int libtrace_eventobj_t::size

If the event is PACKET, the value returned by trace_read_packet()

Referenced by trace_event_device().

libtrace_event_t libtrace_eventobj_t::type

Event type (iowait,sleep,packet)

Referenced by trace_event_device(), and trace_event_trace().


The documentation for this struct was generated from the following file: