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-06 00:38:06 +00:00
2017-03-22 23:33:16 +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
2017-02-02 21:39:50 +00:00
2016-09-06 20:57:50 +00:00
2016-09-06 20:57:50 +00:00
2016-11-26 05:23:44 +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
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 05:49:54 +00:00
2017-02-02 21:39: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
2017-02-14 19:06:07 +00:00
2017-02-02 21:39:50 +00:00
2017-03-03 20:56:28 +00:00
2017-05-12 04:51:55 +00:00
2017-03-03 20:56:28 +00:00
2017-02-02 21:39: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
2017-05-15 13:02:37 +00:00
2017-05-15 13:02:37 +00:00
2017-05-12 05:49:54 +00:00
2016-09-06 20:57:50 +00:00
2017-03-03 20:56:28 +00:00
2017-03-03 20:56:28 +00:00
2017-03-03 20:56:28 +00:00
2017-05-12 04:51:55 +00:00
2017-03-03 20:56:28 +00:00
2016-09-06 20:57:50 +00:00
2017-05-05 22:42:13 +00:00
2017-03-03 20:56:28 +00:00
2017-03-03 20:56:28 +00:00
2017-03-03 20:56:28 +00:00
2017-03-03 20:56:28 +00:00
2017-03-03 20:56:28 +00:00
2017-03-03 20:56:28 +00:00
2017-03-03 20:56:28 +00:00
2017-03-03 20:56:28 +00:00
2017-03-03 20:56:28 +00:00
2017-03-03 20:56:28 +00:00
2017-04-06 21:28:29 +00:00
2017-05-12 04:51:55 +00:00
2017-05-12 05:49:54 +00:00
2017-03-07 21:34:40 +00:00
2016-09-06 20:57:50 +00:00