]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/context/doc/performance.qbk
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / context / doc / performance.qbk
CommitLineData
7c673cae
FG
1[/
2 Copyright Oliver Kowalke 2014.
3 Distributed under the Boost Software License, Version 1.0.
4 (See accompanying file LICENSE_1_0.txt or copy at
5 http://www.boost.org/LICENSE_1_0.txt
6]
7
8[section:performance Performance]
9
10Performance of __boost_context__ was measured on the platforms shown in the
11following table. Performance measurements were taken using `rdtsc` and
12`boost::chrono::high_resolution_clock`, with
13overhead corrections, on x86 platforms. In each case, cache warm-up was
14accounted for, and the one running thread was pinned
15to a single CPU. The code was compiled using the build options,
16'variant = release cxxflags = -DBOOST_DISABLE_ASSERTS'.
17
18[table Performance of context switch
19 [[Platform] [ucontext_t] [execution_context (v1)] [execution_context (v2)]]
20 [
21 [x86_64 [footnote Intel Core2 Q6700]]
22 [547 ns / 1433 cycles]
23 [51 ns / 141 cycles]
24 [7 ns / 18 cycles]
25 ]
26]
27
28
29[endsect]