<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>iwiwi</author_name>
  <author_url>https://blog.hatena.ne.jp/iwiwi/</author_url>
  <blog_title>iwiwiの日記</blog_title>
  <blog_url>https://iwiwi.hatenablog.com/</blog_url>
  <categories>
    <anon>C++</anon>
  </categories>
  <description>プログラムの一部分の所要時間をちょっと調べたいと思っても，前で時間を調べて，後ろで時間を調べて，引き算したものを出力して，と色々書かねばならず，意外と面倒です．Ruby の benchmark はいいなあと思っていたら，id:tanakh さんの PFI セミナーを思い出したので，それっぽいものを C++ で実現してみました．（2/21 19:30 頃に「もう少し便利に」のバージョンの問題点と解決について追記しました）</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fiwiwi.hatenablog.com%2Fentry%2F20100221%2F1266682598&quot; title=&quot; C++ で気軽に時間測定がしたい - iwiwiの日記&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2010-02-21 01:16:38</published>
  <title> C++ で気軽に時間測定がしたい</title>
  <type>rich</type>
  <url>https://iwiwi.hatenablog.com/entry/20100221/1266682598</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
