Runtime Initialization Tracing (#1105)
* Runtime initialization tracing - calbacks and buffer entries notifying when a runtime has been initialized * Minor cleanup to registration.cpp * JSON tool implementation * Increase perfetto_reader timeout * Handle perfetto_reader timeout when attr doesn't exist * clang-tidy fixes to memory_allocation.cpp
이 커밋은 다음에 포함됨:
14 파일이 변경됨
+496
-49
검색과 일치하는 파일 없음
@@ -318,12 +318,12 @@ get_agent(T val, IterateFunc iterate_func, CallbackFunc callback)
|
||||
if(existing.count(val) == 0)
|
||||
{
|
||||
auto agents = rocprofiler::agent::get_agents();
|
||||
for(auto itr : agents)
|
||||
for(const auto* itr : agents)
|
||||
{
|
||||
auto hsa_agent = rocprofiler::agent::get_hsa_agent(itr);
|
||||
if(hsa_agent)
|
||||
{
|
||||
auto rocprof_agent = rocprofiler::agent::get_rocprofiler_agent(*hsa_agent);
|
||||
const auto* rocprof_agent = rocprofiler::agent::get_rocprofiler_agent(*hsa_agent);
|
||||
if(rocprof_agent)
|
||||
{
|
||||
auto data = typename memory_allocation_info<OpIdx>::pairtype{&existing,
|
||||
|
||||
새 이슈에서 참조
사용자 차단