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-02-09 01:17:34 +00:00
2017-04-15 02:44:53 +00:00
2016-12-16 04:27:00 +00:00
2016-09-06 20:57:50 +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
2016-09-06 20:57:50 +00:00
2017-05-12 04:51:55 +00:00
2016-09-06 20:57:50 +00:00
2017-05-12 04:51:55 +00:00
2016-09-06 20:57:50 +00:00
2017-05-12 04:51:55 +00:00
2016-09-06 20:57:50 +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
2016-09-06 20:57:50 +00:00
2016-09-06 20:57:50 +00:00
2016-09-06 20:57:50 +00:00
2016-12-09 01:08:29 +00:00
2017-05-12 04:51:55 +00:00
2016-09-06 20:57:50 +00:00
2016-09-06 20:57:50 +00:00
2017-05-12 04:51:55 +00:00
2016-09-06 20:57:50 +00:00
2017-05-12 04:51:55 +00:00
2016-09-06 20:57:50 +00:00
2016-12-09 05:46:41 +00:00
2017-05-12 04:51:55 +00:00
2016-09-06 20:57:50 +00:00
2017-05-12 04:51:55 +00:00
2016-09-06 20:57:50 +00:00
2017-05-12 04:51:55 +00:00
2016-09-06 20:57:50 +00:00
2016-11-16 21:15:24 +00:00
2016-09-06 20:57:50 +00:00
2017-05-12 04:51:55 +00:00
2016-09-06 20:57:50 +00:00
2017-05-12 04:51:55 +00:00
2016-09-06 20:57:50 +00:00
2017-05-12 04:51:55 +00:00
2016-09-06 20:57:50 +00:00
2016-12-09 05:46:41 +00:00
2016-09-06 20:57:50 +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
2016-09-06 20:57:50 +00:00
2017-05-12 04:51:55 +00:00
2016-09-06 20:57:50 +00:00
2016-09-06 20:57:50 +00:00
2016-09-06 20:57:50 +00:00
2017-05-12 04:51:55 +00:00
2016-09-06 20:57:50 +00:00
2017-05-12 04:51:55 +00:00
2016-09-06 20:57:50 +00:00