エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
記事へのコメント1件
- 注目コメント
- 新着コメント
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
ミリ秒を求める Script Source Sample for Perl
Time::HiRes モジュールの関数を使う。$now にはエポックからの経過秒数がマイクロ単位で代入される。$s... Time::HiRes モジュールの関数を使う。$now にはエポックからの経過秒数がマイクロ単位で代入される。$seconds には整数秒、$microseconds には小数点以下の数値が代入される。 use Time::HiRes; $now = Time::HiRes::time; ($seconds, $microseconds) = Time::HiRes::gettimeofday; 経過時間を求めるには、Time::HiRes::time を2回実行して、単純に引き算する。 use Time::HiRes; $s_time = Time::HiRes::time; $e_time = Time::HiRes::time; $interval = $e_time - $s_time; print "Content-type:text/html\n\n"; printf "開始
2010/09/15 リンク