Searched refs:g_hsacoCache (Results 1 – 1 of 1) sorted by relevance
622 static HsacoCache g_hsacoCache; variable626 std::lock_guard<std::mutex> lg(g_hsacoCache.m_mutex); in Find()629 for (auto& x : g_hsacoCache.cache) { in Find()637 g_hsacoCache.request_count++; in Find()638 if (hit) g_hsacoCache.hit_count++; in Find()639 if (!(g_hsacoCache.request_count % 50)) in Find()640 VLOG(1) << "HSACO cache: " << g_hsacoCache.request_count << " requests, " in Find()641 << g_hsacoCache.hit_count << " hits"; in Find()647 std::lock_guard<std::mutex> lg(g_hsacoCache.m_mutex); in Add()648 g_hsacoCache.cache.resize(g_hsacoCache.cache.size() + 1); in Add()[all …]