X-TraceC++Library
Public Types | Public Member Functions | Static Public Member Functions | Data Fields
xtr::EventEdge Class Reference

Represents an edge in an X-Trace graph, i.e., a causal relationship between two events. More...

#include <XtrEvent.h>

Public Types

enum  EdgeDir { NEXT = 0, UP, DOWN }

Public Member Functions

 EventEdge ()
 EventEdge (OpId _opId, EdgeDir _dir, u_int16_t _chainId=0)

Static Public Member Functions

static const char * DirName (EdgeDir dir)

Data Fields

OpId opId
EdgeDir dir
u_int16_t chainId

Detailed Description

Represents an edge in an X-Trace graph, i.e., a causal relationship between two events.

Deprecated:
With the deprecation of chainIds and edge directions, this class has little reason to exist, and will be replaced by an OpId object, or by a Metadata object, if we decide to allow edges between tasks.

Member Enumeration Documentation

Enumerator:
NEXT 
UP 
DOWN 

Constructor & Destructor Documentation

xtr::EventEdge::EventEdge ( ) [inline]
xtr::EventEdge::EventEdge ( OpId  _opId,
EdgeDir  _dir,
u_int16_t  _chainId = 0 
) [inline]

Member Function Documentation

static const char* xtr::EventEdge::DirName ( EdgeDir  dir) [inline, static]

Field Documentation


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