Current Path : /usr/local/lib/perl5/site_perl/5.8.9/mach/auto/BSD/Resource/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/local/lib/perl5/site_perl/5.8.9/mach/auto/BSD/Resource/getrusage.al |
# NOTE: Derived from blib/lib/BSD/Resource.pm. # Changes made here will be lost when autosplit is run again. # See AutoSplit.pm. package BSD::Resource; #line 495 "blib/lib/BSD/Resource.pm (autosplit into blib/lib/auto/BSD/Resource/getrusage.al)" sub getrusage (;$) { my @rusage = _getrusage(@_); if (wantarray) { @rusage; } else { my $rusage = {}; my $key; for $key (qw(utime stime maxrss ixrss idrss isrss minflt majflt nswap inblock oublock msgsnd msgrcv nsignals nvcsw nivcsw)) { $rusage->{$key} = shift(@rusage); } bless $rusage; } } # end of BSD::Resource::getrusage 1;