forked from OSchip/llvm-project
parent
a8b653a372
commit
276743f060
|
@ -265,6 +265,7 @@ Symtab::InitNameIndexes()
|
|||
// Protected function, no need to lock mutex...
|
||||
if (!m_name_indexes_computed)
|
||||
{
|
||||
auto start = std::chrono::system_clock::now();
|
||||
m_name_indexes_computed = true;
|
||||
Timer scoped_timer (__PRETTY_FUNCTION__, "%s", __PRETTY_FUNCTION__);
|
||||
// Create the name index vector to be able to quickly search by name
|
||||
|
@ -462,6 +463,8 @@ Symtab::InitNameIndexes()
|
|||
// a.Printf ("%s METHOD\n", m_symbols[entry.value].GetMangled().GetName().GetCString());
|
||||
// }
|
||||
// }
|
||||
auto end = std::chrono::system_clock::now();
|
||||
fprintf(stderr, "Time: %lu\n", std::chrono::duration_cast<std::chrono::microseconds>(end - start).count());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue