@@ -225,20 +225,21 @@ class GPA_NOT_THREAD_SAFE_OBJECT GPASample
225225 // / Release allocated counters
226226 virtual void ReleaseCounters () = 0;
227227
228- GPAPass* m_pPass; // /< GPA Pass Object
229- IGPACommandList* m_pGpaCmdList; // /< Pointer to the command list object
230- GpaSampleType m_gpaSampleType; // /< type of the GPA sample
231- ClientSampleId m_clientSampleId; // /< Client-assigned sample Id
232- DriverSampleId m_driverSampleId; // /< Driver created sample id
233- GPASampleState m_gpaSampleState; // /< The state of this sample
234- GPASampleResult* m_pSampleResult; // /< memory for sample Results
235- GPASample* m_pContinuingSample; // /< Pointer to linked/continuing GpaSample
236- std::mutex m_sampleMutex; // /< mutex for the GPA sample object
237- bool m_isSecondary; // /< flag indicating a sample is a secondary sample; i.e. it has been created on a bundle or secondary command buffer
238- bool m_isOpened; // /< flag indicating a sample is opened
239- bool m_isClosedByClient; // /< flag indicating a sample is closed by the command list on which it is created
240- bool m_isContinuedByClient; // /< flag indicating a sampe has been continued on another command list
241- bool m_isCopiedSample; // /< flag indicating that sample has been copied to primary command list
228+ GPAPass* m_pPass; // /< GPA Pass Object
229+ IGPACommandList* m_pGpaCmdList; // /< Pointer to the command list object
230+ GpaSampleType m_gpaSampleType; // /< type of the GPA sample
231+ ClientSampleId m_clientSampleId; // /< Client-assigned sample Id
232+ DriverSampleId m_driverSampleId; // /< Driver created sample id
233+ GPASampleState m_gpaSampleState; // /< The state of this sample
234+ GPASampleResult* m_pSampleResult; // /< memory for sample Results
235+ GPASample* m_pContinuingSample; // /< Pointer to linked/continuing GpaSample
236+ std::recursive_mutex m_continueSampleMutex; // /< mutex for the GPA sample object
237+ std::mutex m_sampleMutex; // /< mutex for the GPA sample object
238+ bool m_isSecondary; // /< flag indicating a sample is a secondary sample; i.e. it has been created on a bundle or secondary command buffer
239+ bool m_isOpened; // /< flag indicating a sample is opened
240+ bool m_isClosedByClient; // /< flag indicating a sample is closed by the command list on which it is created
241+ bool m_isContinuedByClient; // /< flag indicating a sampe has been continued on another command list
242+ bool m_isCopiedSample; // /< flag indicating that sample has been copied to primary command list
242243};
243244
244245#endif // _GPA_SAMPLE_H_
0 commit comments