{"id":1059,"date":"2012-07-07T01:50:47","date_gmt":"2012-07-06T16:50:47","guid":{"rendered":"http:\/\/daily.belltail.jp\/?p=1059"},"modified":"2012-07-07T02:09:19","modified_gmt":"2012-07-06T17:09:19","slug":"%e6%a8%99%e6%ba%96%e5%85%a5%e5%8a%9b%e3%81%ae%e6%95%b0%e5%80%a4%e5%88%97%e3%81%8b%e3%82%89%e7%b5%b1%e8%a8%88%e9%87%8f%e7%b7%8f%e5%92%8c%e3%81%a8%e3%81%8b%e5%b9%b3%e5%9d%87%e3%81%a8%e3%81%8b%e5%88%86","status":"publish","type":"post","link":"https:\/\/daily.belltail.jp\/?p=1059","title":{"rendered":"\u6a19\u6e96\u5165\u529b\u306e\u6570\u5024\u5217\u304b\u3089\u7d71\u8a08\u91cf(\u7dcf\u548c\u3068\u304b\u5e73\u5747\u3068\u304b\u5206\u6563\u3068\u304b)\u3092\u8a08\u7b97\u3059\u308b\u30b3\u30de\u30f3\u30c9acc\u3092\u4f5c\u3063\u305f"},"content":{"rendered":"<p>\u554f\uff1a\u30ab\u30ec\u30f3\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3088\u308a\u4e0b\u306e\u968e\u5c64\u306b\u3042\u308b\u5168\u3066\u306e.cpp\u30d5\u30a1\u30a4\u30eb\u306e\u5e73\u5747\u30b5\u30a4\u30ba\u3092\u30d0\u30a4\u30c8\u5358\u4f4d\u3067\u6c42\u3081\u3088<\/p>\n<p>\u89e3\u7b54\u4f8b\uff08\u3053\u3046\u3044\u3046\u306e\u3042\u307e\u308a\u5f97\u610f\u3067\u306f\u306a\u3044\u306e\u3067\u30d8\u30f3\u304b\u3082\u3057\u308c\u307e\u305b\u3093\uff57\u8a31\u3057\u3066\u304f\u3060\u3055\u3044\uff57\uff09\uff1a<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n% du -ab | grep &quot;\\.cpp\\$&quot; | grep -o &quot;^&#x5B;0-9]\\+&quot; | acc --mean -f &quot;%.0f&quot;\r\n<\/pre>\n<p>\u7814\u7a76\u306e\u4eee\u306e\u30c7\u30fc\u30bf\u96c6\u8a08\u3068\u304b\u306b\u3053\u3046\u3044\u3046UNIX\u30e9\u30a4\u30af\u306a\u5c0f\u3055\u3044\u30d7\u30ed\u30b0\u30e9\u30e0\uff0c\u6b32\u3057\u304b\u3063\u305f\u3051\u3069\u3042\u308a\u305d\u3046\u3067\u306a\u304b\u3063\u305f\u306e\u3067\u66f8\u304d\u307e\u3057\u305f\uff0e<br \/>\nacc\u30b3\u30de\u30f3\u30c9\u3068\u540d\u4ed8\u3051\uff0cgithub\u306b\u516c\u958b\u3057\u3066\u3044\u307e\u3059\uff0e<\/p>\n<p>[https:\/\/github.com\/sakanazensen\/acc_command]<\/p>\n<p>\u5165\u529b\u306f\u6570\u5024\u304c\u305a\u3089\u305a\u3089\u3068stdin\u306b\u3084\u3063\u3066\u304f\u308c\u3070OK\uff0edouble\u578b\u306e\u7bc4\u56f2\u3092\u8d85\u3048\u306a\u3044\u3088\u3046\u306b\uff0e<br \/>\n\u73fe\u6642\u70b9\u3067\u306f\uff0c\u7dcf\u548c\uff0c\u6700\u5c0f\u5024\uff0c\u6700\u5927\u5024\uff0c\u5e73\u5747\u5024\uff0c\u5206\u6563\uff0c\u4e2d\u592e\u5024\u306e\u51fa\u529b\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\uff0e<br \/>\n\u4e2d\u3067\u306fboost::accumulator\u306b\u8a08\u7b97\u3092\u4e38\u306a\u3052\u3057\u3066\u308b\u3060\u3051\u3067\u3059\uff0e<br \/>\n\u3088\u3063\u3066\uff0cboost::accumulator\u306b\u306a\u3044\u9805\u76ee(\u6700\u7015\u5024\u3084\u6a19\u6e96\u504f\u5dee)\u306b\u306f\u5f53\u9762\u5bfe\u5fdc\u3067\u304d\u307e\u305b\u3093\uff0e<br \/>\n\u8a08\u7b97\u91cf\u7b49\u306e\u554f\u984c\u306b\u3064\u3044\u3066\u306fboost::accumulator\u306e\u30de\u30cb\u30e5\u30a2\u30eb\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\uff0e<\/p>\n<p>\u5f53\u7136\u7121\u4fdd\u8a3c\u3067\u3059\uff0e[http:\/\/www.opensource.org\/licenses\/mit-license.php:title=MIT\u30e9\u30a4\u30bb\u30f3\u30b9]\u3068\u3057\u307e\u3059\uff0e<br \/>\n\u672c\u8a18\u4e8b\u30b3\u30e1\u30f3\u30c8\u3067\u5bfe\u5fdc\u306f\u3059\u308b\u8003\u3048\u306f\u3042\u308a\u307e\u3059\uff0epull request\u304c\u3042\u308c\u3070\u53cd\u5fdc\u3059\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\uff0e<\/p>\n<p>\u5b9f\u88c5\u306b\u5bfe\u3059\u308b\u30c4\u30c3\u30b3\u30df\u3082\u3042\u3063\u305f\u3089\u5b09\u3057\u3044\u304b\u3082\uff0e<br \/>\n\u3042\u307e\u308a\u81ea\u5206\u306e\u30b3\u30fc\u30c9\u3092\u4eba\u306b\u898b\u305b\u305f\u3053\u3068\u304c\u306a\u304f\u3066\u3088\u304f\u306a\u3044\uff0e<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u554f\uff1a\u30ab\u30ec\u30f3\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3088\u308a\u4e0b\u306e\u968e\u5c64\u306b\u3042\u308b\u5168\u3066\u306e.cpp\u30d5\u30a1\u30a4\u30eb\u306e\u5e73\u5747\u30b5\u30a4\u30ba\u3092\u30d0\u30a4\u30c8\u5358\u4f4d\u3067\u6c42\u3081\u3088 \u89e3\u7b54\u4f8b\uff08\u3053\u3046\u3044\u3046\u306e\u3042\u307e\u308a\u5f97\u610f\u3067\u306f\u306a\u3044\u306e\u3067\u30d8\u30f3\u304b\u3082\u3057\u308c\u307e\u305b\u3093\uff57\u8a31\u3057\u3066\u304f\u3060\u3055\u3044\uff57\uff09\uff1a % du -ab | grep &#038;quo [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[14,7,35,32],"class_list":["post-1059","post","type-post","status-publish","format-standard","hentry","category-1","tag-boost","tag-linux","tag-35","tag-32"],"_links":{"self":[{"href":"https:\/\/daily.belltail.jp\/index.php?rest_route=\/wp\/v2\/posts\/1059","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/daily.belltail.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/daily.belltail.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/daily.belltail.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/daily.belltail.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1059"}],"version-history":[{"count":0,"href":"https:\/\/daily.belltail.jp\/index.php?rest_route=\/wp\/v2\/posts\/1059\/revisions"}],"wp:attachment":[{"href":"https:\/\/daily.belltail.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1059"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/daily.belltail.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1059"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/daily.belltail.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1059"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}