forked from OSchip/llvm-project
![]() The Timer destructor would grab a global mutex in order to update execution time. Add a class to define a category once, statically; the class adds itself to an atomic singly linked list, and thus subsequent updates only need to use an atomic rather than grab a lock and perform a hashtable lookup. Differential Revision: https://reviews.llvm.org/D32823 Patch by Scott Smith <scott.smith@purestorage.com>. llvm-svn: 303058 |
||
---|---|---|
.. | ||
android | ||
common | ||
freebsd | ||
linux | ||
macosx | ||
netbsd | ||
openbsd | ||
posix | ||
windows | ||
CMakeLists.txt |