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
..
2017-05-12 04:51:55 +00:00
2017-04-06 21:28:29 +00:00
2017-04-06 21:28:29 +00:00
2017-04-06 21:28:29 +00:00
2017-04-06 21:28:29 +00:00
2017-05-12 04:51:55 +00:00
2017-04-06 21:28:29 +00:00
2017-04-06 21:28:29 +00:00
2017-05-12 04:51:55 +00:00
2017-04-06 21:28:29 +00:00
2017-05-12 04:51:55 +00:00
2017-05-15 13:02:37 +00:00
2017-04-06 21:28:29 +00:00
2017-05-12 04:51:55 +00:00
2017-05-12 04:51:55 +00:00
2017-04-06 21:28:29 +00:00
2017-04-06 21:28:29 +00:00
2017-04-06 21:28:29 +00:00
2017-05-12 05:49:54 +00:00
2017-05-12 04:51:55 +00:00
2017-04-06 21:28:29 +00:00
2017-05-15 13:02:37 +00:00
2017-05-15 13:02:37 +00:00
2016-09-06 20:57:50 +00:00
2017-05-12 04:51:55 +00:00
2017-04-06 21:28:29 +00:00
2017-05-12 04:51:55 +00:00
2017-05-12 04:51:55 +00:00
2017-05-12 04:51:55 +00:00
2017-05-12 05:49:54 +00:00
2017-04-06 21:28:29 +00:00
2017-04-06 21:28:29 +00:00
2017-04-06 21:28:29 +00:00
2017-04-06 21:28:29 +00:00
2017-04-06 21:28:29 +00:00
2017-05-12 04:51:55 +00:00
2017-05-15 13:02:37 +00:00
2017-05-12 04:51:55 +00:00
2017-05-12 04:51:55 +00:00
2017-05-12 04:51:55 +00:00
2017-05-12 04:51:55 +00:00
2017-05-12 04:51:55 +00:00
2017-05-12 04:51:55 +00:00
2017-05-12 04:51:55 +00:00
2017-05-12 04:51:55 +00:00
2017-05-12 04:51:55 +00:00
2017-05-12 04:51:55 +00:00
2017-04-06 21:28:29 +00:00
2017-05-12 04:51:55 +00:00
2017-05-12 04:51:55 +00:00
2017-05-12 04:51:55 +00:00
2017-05-12 04:51:55 +00:00