llvm-project/lldb/source/Host
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
..
android *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
common Remove an expensive lock from Timer 2017-05-15 13:02:37 +00:00
freebsd Rename Error -> Status. 2017-05-12 04:51:55 +00:00
linux Rename Error -> Status. 2017-05-12 04:51:55 +00:00
macosx Fix build on Mac OS. 2017-05-12 20:44:09 +00:00
netbsd Rename Error -> Status. 2017-05-12 04:51:55 +00:00
openbsd Rename Error -> Status. 2017-05-12 04:51:55 +00:00
posix Rename Error -> Status. 2017-05-12 04:51:55 +00:00
windows Rename Error -> Status. 2017-05-12 04:51:55 +00:00
CMakeLists.txt Re-landing IPv6 support for LLDB Host 2017-04-26 23:17:20 +00:00