Files
rocm-systems/projects/rocprofiler/src/core/intercept_queue.cpp
T

19 строки
781 B
C++
Исходник Обычный вид История

2017-11-09 17:26:19 -06:00
#include "core/intercept_queue.h"
namespace rocprofiler {
void InterceptQueue::HsaIntercept(HsaApiTable* table) {
table->core_->hsa_queue_create_fn = rocprofiler::InterceptQueue::QueueCreate;
table->core_->hsa_queue_destroy_fn = rocprofiler::InterceptQueue::QueueDestroy;
}
InterceptQueue::mutex_t InterceptQueue::mutex_;
2018-02-21 19:59:47 -06:00
rocprofiler_callback_t InterceptQueue::dispatch_callback_ = NULL;
InterceptQueue::queue_callback_t InterceptQueue::destroy_callback_ = NULL;
void* InterceptQueue::callback_data_ = NULL;
2017-11-09 17:26:19 -06:00
InterceptQueue::obj_map_t* InterceptQueue::obj_map_ = NULL;
const char* InterceptQueue::kernel_none_ = "";
uint64_t InterceptQueue::timeout_ = UINT64_MAX;
Tracker* InterceptQueue::tracker_ = NULL;
2018-04-04 12:14:29 -05:00
bool InterceptQueue::tracker_on_ = false;
2017-11-29 13:53:12 -06:00
} // namespace rocprofiler