Solving Benjamin and Ammar comments. Enabling ATT tests with new API.

Change-Id: I96525cf4ebbe475435bf631abcdc18ab3e2f9a66
Αυτή η υποβολή περιλαμβάνεται σε:
Giovanni LB authored and Giovanni Baraldi committed 2023-08-24 02:10:59 -04:00
1 γονέας f715f4318a
υποβολή 5384050b01
6 files changed
+72 -17

No files matched your search

@@ -242,7 +242,7 @@ void codeobj_record::stop_capture(rocprofiler_record_id_t id) {
}
rocprofiler_codeobj_symbols_t codeobj_record::get_capture(rocprofiler_record_id_t id) {
std::atomic_thread_fence(std::memory_order_acquire); // Fencing the state of the map
std::lock_guard<std::mutex> lock(mutex); // Fencing the state of the map
auto& pair = record_id_map.at(id.handle);
return pair.second->get(pair.first);
}