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-04-26 08:48:50 +00:00
2016-10-29 00:29:15 +00:00
2016-02-18 17:01:40 +00:00
2015-09-04 00:00:41 +00:00
2017-05-04 11:34:42 +00:00
2016-09-06 20:57:50 +00:00
2017-03-03 20:56:28 +00:00
2017-05-12 04:51:55 +00:00
2017-05-12 04:51:55 +00:00
2017-03-03 20:56:28 +00:00
2016-11-12 20:41:02 +00:00
2017-05-12 04:51:55 +00:00
2017-03-03 20:56:28 +00:00
2017-03-03 20:56:28 +00:00
2017-03-04 01:30:05 +00:00
2017-05-12 04:51:55 +00:00
2017-03-22 17:33:23 +00:00
2017-05-12 04:51:55 +00:00
2017-02-05 00:44:54 +00:00
2016-09-06 20:57:50 +00:00
2016-12-06 11:24:51 +00:00
2017-03-22 18:40:07 +00:00
2017-03-22 18:40:07 +00:00
2017-05-12 04:51:55 +00:00
2017-03-03 20:56:28 +00:00
2017-05-12 04:51:55 +00:00
2017-05-04 11:34:42 +00:00
2017-05-04 11:34:42 +00:00
2016-09-23 17:48:13 +00:00
2016-09-06 20:57:50 +00:00
2017-03-22 17:33:23 +00:00
2017-03-29 19:32:59 +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-02-02 21:39:50 +00:00
2017-05-12 04:51:55 +00:00
2017-05-12 04:51:55 +00:00
2017-03-03 20:56:28 +00:00
2017-03-03 20:56:28 +00:00
2017-03-06 23:42:14 +00:00
2017-02-02 21:39:50 +00:00
2017-05-12 04:51:55 +00:00
2017-03-21 18:25:04 +00:00
2017-05-12 04:51:55 +00:00
2017-03-03 20:56:28 +00:00
2017-03-03 20:56:28 +00:00
2016-09-06 20:57:50 +00:00
2017-05-12 04:51:55 +00:00
2017-05-12 05:49:54 +00:00
2016-09-06 20:57:50 +00:00
2017-03-06 18:34:25 +00:00
2017-04-26 08:48:50 +00:00
2017-04-26 08:48:50 +00:00
2017-03-03 20:56:28 +00:00
2016-09-21 16:01:28 +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-09-06 20:57:50 +00:00
2016-09-06 20:57:50 +00:00
2016-09-06 20:57: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
2016-09-06 20:57:50 +00:00
2017-03-03 20:56:28 +00:00
2017-05-15 13:02:37 +00:00