← Index
NYTProf Performance Profile   « block view • line view • sub view »
For conv.pl
  Run on Sun Nov 14 21:27:43 2010
Reported on Sun Nov 14 21:29:13 2010

Filename/usr/lib/perl/5.10/IO/Seekable.pm
StatementsExecuted 22 statements in 1.08ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
1113.22ms4.36msIO::Seekable::::BEGIN@9IO::Seekable::BEGIN@9
11132µs32µsIO::Seekable::::BEGIN@5IO::Seekable::BEGIN@5
11119µs101µsIO::Seekable::::BEGIN@12IO::Seekable::BEGIN@12
11116µs21µsIO::Seekable::::BEGIN@7IO::Seekable::BEGIN@7
11112µs83µsIO::Seekable::::BEGIN@6IO::Seekable::BEGIN@6
0000s0sIO::Seekable::::seekIO::Seekable::seek
0000s0sIO::Seekable::::sysseekIO::Seekable::sysseek
0000s0sIO::Seekable::::tellIO::Seekable::tell
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1#
2
3package IO::Seekable;
4
5352µs132µs
# spent 32µs within IO::Seekable::BEGIN@5 which was called: # once (32µs+0s) by IO::File::BEGIN@11 at line 5
use 5.006_001;
# spent 32µs making 1 call to IO::Seekable::BEGIN@5
6337µs2154µs
# spent 83µs (12+71) within IO::Seekable::BEGIN@6 which was called: # once (12µs+71µs) by IO::File::BEGIN@11 at line 6
use Carp;
# spent 83µs making 1 call to IO::Seekable::BEGIN@6 # spent 71µs making 1 call to Exporter::import
7359µs226µs
# spent 21µs (16+5) within IO::Seekable::BEGIN@7 which was called: # once (16µs+5µs) by IO::File::BEGIN@11 at line 7
use strict;
# spent 21µs making 1 call to IO::Seekable::BEGIN@7 # spent 5µs making 1 call to strict::import
812µsour($VERSION, @EXPORT, @ISA);
93174µs14.36ms
# spent 4.36ms (3.22+1.14) within IO::Seekable::BEGIN@9 which was called: # once (3.22ms+1.14ms) by IO::File::BEGIN@11 at line 9
use IO::Handle ();
# spent 4.36ms making 1 call to IO::Seekable::BEGIN@9
10# XXX we can't get these from IO::Handle or we'll get prototype
11# mismatch warnings on C<use POSIX; use IO::File;> :-(
123719µs2183µs
# spent 101µs (19+82) within IO::Seekable::BEGIN@12 which was called: # once (19µs+82µs) by IO::File::BEGIN@11 at line 12
use Fcntl qw(SEEK_SET SEEK_CUR SEEK_END);
# spent 101µs making 1 call to IO::Seekable::BEGIN@12 # spent 82µs making 1 call to Exporter::import
1311µsrequire Exporter;
14
1512µs@EXPORT = qw(SEEK_SET SEEK_CUR SEEK_END);
1619µs@ISA = qw(Exporter);
17
1811µs$VERSION = "1.10";
19121µs$VERSION = eval $VERSION;
# spent 4µs executing statements in string eval
20
21sub seek {
22 @_ == 3 or croak 'usage: $io->seek(POS, WHENCE)';
23 seek($_[0], $_[1], $_[2]);
24}
25
26sub sysseek {
27 @_ == 3 or croak 'usage: $io->sysseek(POS, WHENCE)';
28 sysseek($_[0], $_[1], $_[2]);
29}
30
31sub tell {
32 @_ == 1 or croak 'usage: $io->tell()';
33 tell($_[0]);
34}
35
3618µs1;