queue callback start/stop methods

Change-Id: Idba6624bb177096ef879f53f6aec80283ca18ce5


[ROCm/rocprofiler commit: 5d2b23d751]
Этот коммит содержится в:
Evgeny
2020-01-13 20:36:26 -06:00
родитель 540e423910
Коммит 9f7406d75a
4 изменённых файлов: 47 добавлений и 24 удалений
+2 -3
Просмотреть файл
@@ -29,10 +29,9 @@ void InterceptQueue::HsaIntercept(HsaApiTable* table) {
}
InterceptQueue::mutex_t InterceptQueue::mutex_;
rocprofiler_callback_t InterceptQueue::dispatch_callback_ = NULL;
InterceptQueue::queue_callback_t InterceptQueue::create_callback_ = NULL;
InterceptQueue::queue_callback_t InterceptQueue::destroy_callback_ = NULL;
rocprofiler_queue_callbacks_t InterceptQueue::callbacks_ = {};
void* InterceptQueue::callback_data_ = NULL;
std::atomic<rocprofiler_callback_t> InterceptQueue::dispatch_callback_{NULL};
InterceptQueue::obj_map_t* InterceptQueue::obj_map_ = NULL;
const char* InterceptQueue::kernel_none_ = "";
Tracker* InterceptQueue::tracker_ = NULL;