llvm-project/lldb/source/Initialization
Pavel Labath f9d1647657 Remove an expensive lock from Timer
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
2017-05-15 13:02:37 +00:00
..
CMakeLists.txt [CMake] Final dependency cleanup patch! 2017-02-08 21:00:46 +00:00
SystemInitializer.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
SystemInitializerCommon.cpp Remove an expensive lock from Timer 2017-05-15 13:02:37 +00:00
SystemLifetimeManager.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00