msptiActivityMemset
msptiActivityMemset is the struct of the activity record type MSPTI_ACTIVITY_KIND_MEMSET, used to report memory setting activity information. The definition is as follows:
1 2 3 4 5 6 7 8 9 10 11 | typedef struct PACKED_ALIGNMENT { msptiActivityKind kind; // Activity record type MSPTI_ACTIVITY_KIND_MEMSET. uint32_t value; // Target value set by Memset. uint64_t bytes; // Number of bytes set by Memset. uint64_t start; // Start timestamp of the Memset operation, in ns. uint64_t end; // End timestamp of the Memset operation, in ns. uint32_t deviceId; // ID of the device where the Memset operation is performed. uint32_t streamId; // Stream ID of the Memset operation. uint64_t correlationId; // Correlation ID of the Memset operation. uint8_t isAsync; // Whether to perform the Memset operation using the asynchronous memory API. } msptiActivityMemset; |
Parent topic: Data Structure Type