GPUOpen-Tools / gpu_performance_api

GPU Performance API for AMD GPUs
MIT License
250 stars 46 forks source link

Resetting sessions possible? #37

Closed chaoticbob closed 5 years ago

chaoticbob commented 5 years ago

Is it possible to reset a session or is it by design that this is not possible? Looking through the code, the state of a session does not ever return to GPA_SESSION_STATE_NOT_STARTED once it leaves it.

This implies that a session object cannot be reused and requires create/delete for every sample. Just looking to verify the behavior.

chesik-amd commented 5 years ago

Yes, your observation is correct: the current implementation does not support resetting a session.

chaoticbob commented 5 years ago

Thanks for the confirmation!