msptiActivityMarker
msptiActivityMarker is the struct of the activity record type MSPTI_ACTIVITY_KIND_MARKER. The definition is as follows:
1 2 3 4 5 6 7 8 9 10 | typedef struct PACKED_ALIGNMENT { msptiActivityKind kind; // Activity record type MSPTI_ACTIVITY_KIND_MARKER. msptiActivityFlag flag; // Activity flag. msptiActivitySourceKind sourceKind; // Source type of the data. uint64_t timestamp; // Timestamp, in ns. The value 0 indicates that timestamp information cannot be collected for the flag. uint64_t id; // Marker ID. msptiObjectId objectId; // Process ID, thread ID, device ID, and stream ID of the marker. const char *name; // Marker name. The value is NULL when the marker ends. const char *domain; // Name of the domain to which the marker belongs. The default domain is NULL. } msptiActivityMarker; |
Parent topic: msptiBuffersCallbackCompleteFunc