llvm-project/lldb/unittests/Core
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
..
ArchSpecTest.cpp Recompute ArchSpec core after MergeFrom 2017-04-20 12:30:18 +00:00
BroadcasterTest.cpp Fix build failure in unit test. 2017-04-06 21:57:39 +00:00
CMakeLists.txt Move Log from Core -> Utility. 2017-03-03 20:56:28 +00:00
DataExtractorTest.cpp Move DataBuffer / DataExtractor and friends from Core -> Utility. 2017-03-04 01:30:05 +00:00
ListenerTest.cpp Use Timeout<> in the Listener class 2016-11-30 10:41:42 +00:00
ScalarTest.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
StateTest.cpp Add format_provider for lldb::StateType 2017-01-24 11:48:25 +00:00
StreamCallbackTest.cpp Move many other files from Core -> Utility. 2017-03-06 18:34:25 +00:00
StructuredDataTest.cpp Move classes from Core -> Utility. 2017-02-02 21:39:50 +00:00
TimerTest.cpp Remove an expensive lock from Timer 2017-05-15 13:02:37 +00:00