kib
fd64376ccf
Micro-manage clang to get the expected inlining for cpu_search().
...
Mark cpu_search_lowest/cpu_search_highest/cpu_search_both as noinline,
while cpu_search() gets always_inline. With the attributes set,
cpu_search() is inlined in wrappers, and if()s with constant
conditionals are optimized.
On some tests on many-core machine, the hwpmc reported samples for
cpu_search*() are reduced from 25% total to 9%.
Submitted by: "Rang, Anton" <anton.rang@isilon.com>
MFC after: 1 week
2014-07-03 11:06:27 +00:00
..
2014-07-02 13:24:21 +00:00
2014-06-28 03:56:17 +00:00
2014-07-01 06:43:15 +00:00
2014-07-03 05:22:13 +00:00
2014-07-02 21:25:32 +00:00
2014-06-28 03:56:17 +00:00
2014-07-02 19:46:42 +00:00
2014-06-19 05:45:17 +00:00
2014-06-24 06:55:49 +00:00
2014-06-02 23:50:19 +00:00
2014-07-03 10:49:46 +00:00
2014-07-01 20:47:16 +00:00
2014-06-28 03:56:17 +00:00
2014-06-28 03:56:17 +00:00
2014-07-01 00:22:54 +00:00
2014-07-02 22:09:06 +00:00
2014-07-03 11:06:27 +00:00
2014-06-09 19:27:47 +00:00
2014-06-28 03:56:17 +00:00
2014-07-01 20:47:16 +00:00
2014-06-28 03:56:17 +00:00
2014-07-01 07:54:12 +00:00
2014-07-02 22:04:14 +00:00
2014-06-28 03:56:17 +00:00
2014-07-01 08:02:25 +00:00
2014-06-28 03:56:17 +00:00
2014-06-14 12:26:12 +00:00
2014-07-01 20:00:35 +00:00
2014-06-28 17:36:18 +00:00
2014-06-28 17:36:18 +00:00
2014-06-11 14:53:58 +00:00
2014-05-29 01:42:22 +00:00
2014-07-01 20:47:16 +00:00
2014-06-28 03:56:17 +00:00
2014-06-28 03:56:17 +00:00
2014-07-02 13:24:21 +00:00
2014-06-10 06:24:01 +00:00
2014-06-17 07:11:00 +00:00
2014-06-28 03:56:17 +00:00
2014-06-28 03:56:17 +00:00
2014-06-16 08:54:04 +00:00
2014-05-29 16:03:08 +00:00