← Index
NYTProf Performance Profile   « line view »
For split.pl
  Run on Thu Apr 20 02:05:47 2023
Reported on Thu Apr 20 18:31:09 2023

Filename/usr/lib/x86_64-linux-gnu/perl-base/Fcntl.pm
StatementsExecuted 11 statements in 496µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
1118µs10µsFcntl::::BEGIN@3Fcntl::BEGIN@3
1116µs6µsFcntl::::O_NOFOLLOWFcntl::O_NOFOLLOW (xsub)
1114µs8µsFcntl::::BEGIN@5Fcntl::BEGIN@5
1113µs3µsFcntl::::O_BINARYFcntl::O_BINARY (xsub)
1112µs2µsFcntl::::O_LARGEFILEFcntl::O_LARGEFILE (xsub)
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1package Fcntl;
2
3221µs212µs
# spent 10µs (8+2) within Fcntl::BEGIN@3 which was called: # once (8µs+2µs) by File::Temp::BEGIN@150 at line 3
use strict;
# spent 10µs making 1 call to Fcntl::BEGIN@3 # spent 2µs making 1 call to strict::import
4
52157µs212µs
# spent 8µs (4+4) within Fcntl::BEGIN@5 which was called: # once (4µs+4µs) by File::Temp::BEGIN@150 at line 5
use Exporter 'import';
# spent 8µs making 1 call to Fcntl::BEGIN@5 # spent 4µs making 1 call to Exporter::import
61300nsrequire XSLoader;
71300nsour $VERSION = '1.15';
8
91290µs1285µsXSLoader::load();
# spent 285µs making 1 call to XSLoader::load
10
11# Named groups of exports
1216µsour %EXPORT_TAGS = (
13 'flock' => [qw(LOCK_SH LOCK_EX LOCK_NB LOCK_UN)],
14 'Fcompat' => [qw(FAPPEND FASYNC FCREAT FDEFER FDSYNC FEXCL FLARGEFILE
15 FNDELAY FNONBLOCK FRSYNC FSYNC FTRUNC)],
16 'seek' => [qw(SEEK_SET SEEK_CUR SEEK_END)],
17 'mode' => [qw(S_ISUID S_ISGID S_ISVTX S_ISTXT
18 _S_IFMT S_IFREG S_IFDIR S_IFLNK
19 S_IFSOCK S_IFBLK S_IFCHR S_IFIFO S_IFWHT S_ENFMT
20 S_IRUSR S_IWUSR S_IXUSR S_IRWXU
21 S_IRGRP S_IWGRP S_IXGRP S_IRWXG
22 S_IROTH S_IWOTH S_IXOTH S_IRWXO
23 S_IREAD S_IWRITE S_IEXEC
24 S_ISREG S_ISDIR S_ISLNK S_ISSOCK
25 S_ISBLK S_ISCHR S_ISFIFO
26 S_ISWHT S_ISENFMT
27 S_IFMT S_IMODE
28 )],
29);
30
31# Items to export into callers namespace by default
32# (move infrequently used names to @EXPORT_OK below)
3314µsour @EXPORT =
34 qw(
35 FD_CLOEXEC
36 F_ALLOCSP
37 F_ALLOCSP64
38 F_COMPAT
39 F_DUP2FD
40 F_DUPFD
41 F_EXLCK
42 F_FREESP
43 F_FREESP64
44 F_FSYNC
45 F_FSYNC64
46 F_GETFD
47 F_GETFL
48 F_GETLK
49 F_GETLK64
50 F_GETOWN
51 F_NODNY
52 F_POSIX
53 F_RDACC
54 F_RDDNY
55 F_RDLCK
56 F_RWACC
57 F_RWDNY
58 F_SETFD
59 F_SETFL
60 F_SETLK
61 F_SETLK64
62 F_SETLKW
63 F_SETLKW64
64 F_SETOWN
65 F_SHARE
66 F_SHLCK
67 F_UNLCK
68 F_UNSHARE
69 F_WRACC
70 F_WRDNY
71 F_WRLCK
72 O_ACCMODE
73 O_ALIAS
74 O_APPEND
75 O_ASYNC
76 O_BINARY
77 O_CREAT
78 O_DEFER
79 O_DIRECT
80 O_DIRECTORY
81 O_DSYNC
82 O_EXCL
83 O_EXLOCK
84 O_LARGEFILE
85 O_NDELAY
86 O_NOCTTY
87 O_NOFOLLOW
88 O_NOINHERIT
89 O_NONBLOCK
90 O_RANDOM
91 O_RAW
92 O_RDONLY
93 O_RDWR
94 O_RSRC
95 O_RSYNC
96 O_SEQUENTIAL
97 O_SHLOCK
98 O_SYNC
99 O_TEMPORARY
100 O_TEXT
101 O_TRUNC
102 O_WRONLY
103 );
104
105# Other items we are prepared to export if requested
106our @EXPORT_OK = (qw(
107 DN_ACCESS
108 DN_ATTRIB
109 DN_CREATE
110 DN_DELETE
111 DN_MODIFY
112 DN_MULTISHOT
113 DN_RENAME
114 F_GETLEASE
115 F_GETPIPE_SZ
116 F_GETSIG
117 F_NOTIFY
118 F_SETLEASE
119 F_SETPIPE_SZ
120 F_SETSIG
121 LOCK_MAND
122 LOCK_READ
123 LOCK_RW
124 LOCK_WRITE
125 O_ALT_IO
126 O_EVTONLY
127 O_IGNORE_CTTY
128 O_NOATIME
129 O_NOLINK
130 O_NOSIGPIPE
131 O_NOTRANS
132 O_SYMLINK
133 O_TTY_INIT
13416µs), map {@{$_}} values %EXPORT_TAGS);
135
136112µs1;
 
# spent 3µs within Fcntl::O_BINARY which was called: # once (3µs+0s) by main::BEGIN@18 at line 246 of File/Temp.pm
sub Fcntl::O_BINARY; # xsub
# spent 2µs within Fcntl::O_LARGEFILE which was called: # once (2µs+0s) by main::BEGIN@18 at line 246 of File/Temp.pm
sub Fcntl::O_LARGEFILE; # xsub
# spent 6µs within Fcntl::O_NOFOLLOW which was called: # once (6µs+0s) by main::BEGIN@18 at line 246 of File/Temp.pm
sub Fcntl::O_NOFOLLOW; # xsub