<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
		xmlns:xhtml="http://www.w3.org/1999/xhtml"
>

<channel>
	<title>きぬろぐ &#187; Perl</title>
	<atom:link href="http://www.kinusati.net/category/computer/%e3%83%97%e3%83%ad%e3%82%b0%e3%83%a9%e3%83%a0/perl/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kinusati.net</link>
	<description>だめでつれづれな日記</description>
	<lastBuildDate>Sun, 15 Jan 2012 23:42:13 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.kinusati.net/category/computer/%e3%83%97%e3%83%ad%e3%82%b0%e3%83%a9%e3%83%a0/perl/feed/" />
		<item>
		<title>Time::HiResの使い方</title>
		<link>http://www.kinusati.net/2010/07/04/timehires%e3%81%ae%e4%bd%bf%e3%81%84%e6%96%b9/</link>
		<comments>http://www.kinusati.net/2010/07/04/timehires%e3%81%ae%e4%bd%bf%e3%81%84%e6%96%b9/#comments</comments>
		<pubDate>Sun, 04 Jul 2010 11:03:01 +0000</pubDate>
		<dc:creator>kinusati</dc:creator>
				<category><![CDATA[Perl]]></category>

		<guid isPermaLink="false">http://www.kinusati.net/?p=701</guid>
		<description><![CDATA[Perlプログラムのプロファイルを行うときに、ミリ秒単位で応答時間を取得したい場合がある。 そんなときにはTime::HiResがおすすめ。簡単にミリ秒で取得できます。 use Time::HiRes qw( uslee &#8230; <a href="http://www.kinusati.net/2010/07/04/timehires%e3%81%ae%e4%bd%bf%e3%81%84%e6%96%b9/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Perlプログラムのプロファイルを行うときに、ミリ秒単位で応答時間を取得したい場合がある。</p>
<p>そんなときにはTime::HiResがおすすめ。簡単にミリ秒で取得できます。</p>
<pre>
use Time::HiRes qw( usleep ualarm gettimeofday tv_interval );
my @before = gettimeofday();
&amp;method1();
my @after = gettimeofday();
my $elapsed = tv_interval(\@before, \@after);
</pre>
<p>↑のやり方で、&amp;method1()の実行にかかった時間が取得できます。楽ちん楽ちん。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kinusati.net/2010/07/04/timehires%e3%81%ae%e4%bd%bf%e3%81%84%e6%96%b9/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.kinusati.net/2010/07/04/timehires%e3%81%ae%e4%bd%bf%e3%81%84%e6%96%b9/" />
	</item>
	</channel>
</rss>

