msptiActivityFlag
Activity record flag. Flags can be combined by bitwise OR to correlate multiple flags with activity records. Each flag is correlated with a specific activity record.
msptiActivityFlag is an enumeration class in the MarkerData struct. The definition is as follows:
1 2 3 4 5 6 7 8 | class MsptiActivityFlag(Enum): MSPTI_ACTIVITY_FLAG_NONE = 0 # No activity record flag. 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 to the mstxRangeStartA call generates an ID required for the corresponding mstxRangeEnd call. MSPTI_ACTIVITY_KIND_MARKER calls this enumeration. |
Parent topic: Enumeration Type