]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/context/doc/html/context/performance.html
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / context / doc / html / context / performance.html
CommitLineData
7c673cae
FG
1<html>
2<head>
3<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
4<title>Performance</title>
5<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
6<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
7<link rel="home" href="../index.html" title="Chapter&#160;1.&#160;Context">
8<link rel="up" href="../index.html" title="Chapter&#160;1.&#160;Context">
9<link rel="prev" href="struct__preallocated_.html" title="Struct preallocated">
10<link rel="next" href="architectures.html" title="Architectures">
11</head>
12<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
13<table cellpadding="2" width="100%"><tr>
14<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td>
15<td align="center"><a href="../../../../../index.html">Home</a></td>
16<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td>
17<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
18<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
19<td align="center"><a href="../../../../../more/index.htm">More</a></td>
20</tr></table>
21<hr>
22<div class="spirit-nav">
23<a accesskey="p" href="struct__preallocated_.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="architectures.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
24</div>
25<div class="section">
26<div class="titlepage"><div><div><h2 class="title" style="clear: both">
27<a name="context.performance"></a><a class="link" href="performance.html" title="Performance">Performance</a>
28</h2></div></div></div>
29<p>
30 Performance of <span class="bold"><strong>Boost.Context</strong></span> was measured
31 on the platforms shown in the following table. Performance measurements were
32 taken using <code class="computeroutput"><span class="identifier">rdtsc</span></code> and <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">chrono</span><span class="special">::</span><span class="identifier">high_resolution_clock</span></code>,
33 with overhead corrections, on x86 platforms. In each case, cache warm-up was
34 accounted for, and the one running thread was pinned to a single CPU. The code
35 was compiled using the build options, 'variant = release cxxflags = -DBOOST_DISABLE_ASSERTS'.
36 </p>
37<div class="table">
38<a name="context.performance.performance_of_context_switch"></a><p class="title"><b>Table&#160;1.1.&#160;Performance of context switch</b></p>
39<div class="table-contents"><table class="table" summary="Performance of context switch">
40<colgroup>
41<col>
42<col>
43<col>
44<col>
45</colgroup>
46<thead><tr>
47<th>
48 <p>
49 Platform
50 </p>
51 </th>
52<th>
53 <p>
54 ucontext_t
55 </p>
56 </th>
57<th>
58 <p>
59 execution_context (v1)
60 </p>
61 </th>
62<th>
63 <p>
64 execution_context (v2)
65 </p>
66 </th>
67</tr></thead>
68<tbody><tr>
69<td>
70 <p>
71 x86_64 <sup>[<a name="context.performance.f0" href="#ftn.context.performance.f0" class="footnote">a</a>]</sup>
72 </p>
73 </td>
74<td>
75 <p>
76 547 ns / 1433 cycles
77 </p>
78 </td>
79<td>
80 <p>
81 51 ns / 141 cycles
82 </p>
83 </td>
84<td>
85 <p>
86 7 ns / 18 cycles
87 </p>
88 </td>
89</tr></tbody>
90<tbody class="footnotes"><tr><td colspan="4"><div class="footnote"><p><sup>[<a name="ftn.context.performance.f0" href="#context.performance.f0" class="para">a</a>] </sup>
91 Intel Core2 Q6700
92 </p></div></td></tr></tbody>
93</table></div>
94</div>
95<br class="table-break">
96</div>
97<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
98<td align="left"></td>
99<td align="right"><div class="copyright-footer">Copyright &#169; 2014 Oliver Kowalke<p>
100 Distributed under the Boost Software License, Version 1.0. (See accompanying
101 file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
102 </p>
103</div></td>
104</tr></table>
105<hr>
106<div class="spirit-nav">
107<a accesskey="p" href="struct__preallocated_.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="architectures.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
108</div>
109</body>
110</html>