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-01-31 22:31:38 +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-09-06 20:57:50 +00:00
2016-09-06 20:57:50 +00:00
2017-05-11 22:08:05 +00:00
2017-04-24 22:11:10 +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-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-15 13:02:37 +00:00
2016-09-15 08:53:33 +00:00
2016-09-06 20:57:50 +00:00
2017-03-04 01:30:05 +00:00
2017-02-02 21:39:50 +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-02-02 21:39:50 +00:00
2016-09-06 20:57:50 +00:00
2017-02-02 21:39:50 +00:00
2017-03-03 06:14:38 +00:00
2017-05-12 04:51:55 +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-02-02 21:39:50 +00:00
2016-09-06 20:57:50 +00:00
2017-02-02 21:39:50 +00:00
2016-09-06 20:57:50 +00:00
2016-10-28 18:14:43 +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-03-03 20:56:28 +00:00
2017-03-03 06:14:38 +00:00
2017-02-02 21:39:50 +00:00
2016-09-15 08:53:33 +00:00
2016-09-06 20:57:50 +00:00
2017-02-02 21:39:50 +00:00
2017-05-11 22:08:05 +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-02-02 21:39:50 +00:00
2016-09-06 20:57:50 +00:00
2017-02-02 21:39:50 +00:00
2016-09-06 20:57:50 +00:00
2017-01-06 00:38:06 +00:00
2017-02-02 21:39:50 +00:00
2017-03-15 09:06:58 +00:00
2017-03-03 20:56:28 +00:00
2017-05-02 10:17:30 +00:00
2017-05-02 10:17:30 +00:00
2017-05-15 13:02:37 +00:00
2017-04-28 00:51:06 +00:00
2017-05-15 13:02:37 +00:00
2017-03-03 06:14:38 +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-09-06 20:57:50 +00:00