<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>pebble8888</author_name>
  <author_url>https://blog.hatena.ne.jp/pebble8888/</author_url>
  <blog_title>Pebble Coding</blog_title>
  <blog_url>https://pebble8888.hatenablog.com/</blog_url>
  <categories>
    <anon>C++11</anon>
  </categories>
  <description>C++11のatomic関数はどのくらいのパフォーマンスを出せるのか調べてみました。 short変数に対してスレッド２つを使い、スレッドAが書き込み、スレッドBが読み込みとします。 環境: Intel Core i5 1.6GHz コア数:2 2次キャッシュ(コアのキャッシュ):256KB 3次キャッシュ:3MB 結果です。 10万回の処理ループを20セット実行させた時の、最小値、最大値、平均の時間(マイクロ秒)です。 min max mean平均(microsec) 1) ロックなし (nonatomic) 748 us 989 us 909 us 2) std:atomic_short メ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpebble8888.hatenablog.com%2Fentry%2F2016%2F08%2F01%2F225709&quot; title=&quot;C++11環境におけるatomic操作のパフォーマンス比較 - Pebble Coding&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://images-fe.ssl-images-amazon.com/images/I/41tK7Fd3CBL._SL160_.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-08-01 22:57:09</published>
  <title>C++11環境におけるatomic操作のパフォーマンス比較</title>
  <type>rich</type>
  <url>https://pebble8888.hatenablog.com/entry/2016/08/01/225709</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
