← Index
NYTProf Performance Profile   « line view »
For /Users/brian/bin/perls/cpan5.26.1
  Run on Sat Dec 30 01:41:10 2017
Reported on Sat Dec 30 01:44:15 2017

Filename/usr/local/perls/perl-5.26.1/lib/5.26.1/warnings/register.pm
StatementsExecuted 5 statements in 56µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11130µs213µswarnings::register::::importwarnings::register::import
0000s0swarnings::register::::mkMaskwarnings::register::mkMask
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1package warnings::register;
2
3our $VERSION = '1.04';
4require warnings;
5
6# left here as cruft in case other users were using this undocumented routine
7# -- rjbs, 2010-09-08
8sub mkMask
9{
10 my ($bit) = @_;
11 my $mask = "";
12
13 vec($mask, $bit, 1) = 1;
14 return $mask;
15}
16
17sub import
18
# spent 213µs (30+183) within warnings::register::import which was called: # once (30µs+183µs) by Tie::Handle::BEGIN@124 at line 124 of Tie/Handle.pm
{
1911µs shift;
2019µs my @categories = @_;
21
2218µs my $package = (caller(0))[0];
23119µs1183µs warnings::register_categories($package);
# spent 183µs making 1 call to warnings::register_categories
24
25119µs warnings::register_categories($package . "::$_") for @categories;
26}
271;
28__END__