perl-5.38.0
times

Returns a four-element list giving the user and system times in seconds for this process and any exited children of this process.

現プロセス及び終了したその子プロセスに対する、ユーザ時間とシステム時間を 秒で示した、4 要素のリスト値を返します。

    my ($user,$system,$cuser,$csystem) = times;

In scalar context, times returns $user.

スカラコンテキストでは、times$user を返します。

Children's times are only included for terminated children.

子プロセスに対する times は、終了した子プロセスのみ含められます。

Portability issues: "times" in perlport.

移植性の問題: "times" in perlport