msptiActivityFlag

Activity flag of an activity record. Tags can be combined by bitwise OR to associate multiple tags with an Activity Record. Each tag is specifically associated with an Activity Record.

msptiActivityFlag is the enumeration class invoked in the msptiActivityMarker structure. The definition is as follows:

1
2
3
4
5
6
7
8
9
typedef enum {
	MSPTI_ACTIVITY_FLAG_NONE = 0,   // Activity flag indicating no activity record.
	MSPTI_ACTIVITY_FLAG_MARKER_INSTANTANEOUS = 1 << 0, // Passing nullptr to the stream parameter in the mstxMarkA call triggers an instantaneous event flag on the host. MSPTI_ACTIVITY_KIND_MARKER calls this enumeration.
	MSPTI_ACTIVITY_FLAG_MARKER_START = 1 << 1, // Passing nullptr to the stream parameter in the mstxRangeStartA call initiates a marker on the host. MSPTI_ACTIVITY_KIND_MARKER calls this enumeration.
	MSPTI_ACTIVITY_FLAG_MARKER_END = 1 << 2 // Passing nullptr to the stream parameter in the mstxRangeStartA call generates an ID required for the corresponding mstxRangeEnd call. MSPTI_ACTIVITY_KIND_MARKER calls this enumeration.
	MSPTI_ACTIVITY_FLAG_MARKER_INSTANTANEOUS_WITH_DEVICE = 1 << 3, // Marker data type when a valid stream is passed to the mstxMarkA call. MSPTI_ACTIVITY_KIND_MARKER calls this enumeration.
	MSPTI_ACTIVITY_FLAG_MARKER_START_WITH_DEVICE = 1 << 4, // Marker data type when a valid stream is passed to the mstxRangeStartA call. MSPTI_ACTIVITY_KIND_MARKER calls this enumeration.
	MSPTI_ACTIVITY_FLAG_MARKER_END_WITH_DEVICE = 1 << 5 // Passing a valid stream in the mstxRangeStartA call generates an ID required for the corresponding mstxRangeEnd call. MSPTI_ACTIVITY_KIND_MARKER calls this enumeration.
} msptiActivityFlag;