ActiveState homepage
docs.activestate.com
ActivePerl 5.32 Documentation
  • Get ActivePerl
      Release notes Windows installation Linux Installaton macOS Installation License
  • Get Started
      Windows Perl 5.32 docs
  • Contact Us

times - perldoc.perl.org
Home  > Language reference > Functions > times
Perl 5 version 32.0 documentation

times

Perl functions A-Z | Perl functions by category | The 'perlfunc' manpage
  • times

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

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

    In scalar context, times returns $user .

    Children's times are only included for terminated children.

    Portability issues: times in perlport.

Documentation built with Hugo using the Material theme.
ActiveState Platform   Downloads   Community   Code Recipes  
© 2020 ActiveState Software Inc. All rights reserved. Trademarks. Privacy Policy.