← Index
NYTProf Performance Profile   « block view • line view • sub view »
For /usr/share/koha/opac/cgi-bin/opac/opac-search.pl
  Run on Tue Oct 15 17:10:45 2013
Reported on Tue Oct 15 17:12:16 2013

Filename/usr/lib/perl/5.10/Errno.pm
StatementsExecuted 20 statements in 1.99ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11121µs45µsErrno::::BEGIN@188Errno::BEGIN@188
11119µs19µsErrno::::BEGIN@7Errno::BEGIN@7
11111µs16µsErrno::::BEGIN@8Errno::BEGIN@8
1119µs9µsErrno::::TIEHASHErrno::TIEHASH
0000s0sErrno::::EXISTSErrno::EXISTS
0000s0sErrno::::FETCHErrno::FETCH
0000s0sErrno::::FIRSTKEYErrno::FIRSTKEY
0000s0sErrno::::NEXTKEYErrno::NEXTKEY
0000s0sErrno::::STOREErrno::STORE
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1#
2# This file is auto-generated. ***ANY*** changes here will be lost
3#
4
5package Errno;
611µsour (@EXPORT_OK,%EXPORT_TAGS,@ISA,$VERSION,%errno,$AUTOLOAD);
7344µs119µs
# spent 19µs within Errno::BEGIN@7 which was called: # once (19µs+0s) by Cache::Memcached::BEGIN@19 at line 7
use Exporter ();
# spent 19µs making 1 call to Errno::BEGIN@7
831.54ms221µs
# spent 16µs (11+5) within Errno::BEGIN@8 which was called: # once (11µs+5µs) by Cache::Memcached::BEGIN@19 at line 8
use strict;
# spent 16µs making 1 call to Errno::BEGIN@8 # spent 5µs making 1 call to strict::import
9
101800ns$VERSION = "1.11";
11125µs$VERSION = eval $VERSION;
# spent 4µs executing statements in string eval
12110µs@ISA = qw(Exporter);
13
14124µs@EXPORT_OK = qw(EBADR ENOMSG ENOTSUP ESTRPIPE EADDRINUSE EL3HLT EBADF
15 ENOTBLK ENAVAIL ECHRNG ENOTNAM ELNRNG ENOKEY EXDEV EBADE EBADSLT
16 ECONNREFUSED ENOSTR ENONET EOVERFLOW EISCONN EFBIG EKEYREVOKED
17 ECONNRESET EWOULDBLOCK ELIBMAX EREMOTEIO ERFKILL ENOPKG ELIBSCN
18 EDESTADDRREQ ENOTSOCK EIO EMEDIUMTYPE EINPROGRESS ERANGE EAFNOSUPPORT
19 EADDRNOTAVAIL EINTR EREMOTE EILSEQ ENOMEM EPIPE ENETUNREACH ENODATA
20 EUSERS EOPNOTSUPP EPROTO EISNAM ESPIPE EALREADY ENAMETOOLONG ENOEXEC
21 EISDIR EBADRQC EEXIST EDOTDOT ELIBBAD EOWNERDEAD ESRCH EFAULT EXFULL
22 EDEADLOCK EAGAIN ENOPROTOOPT ENETDOWN EPROTOTYPE EL2NSYNC ENETRESET
23 EUCLEAN EADV EROFS ESHUTDOWN EMULTIHOP EPROTONOSUPPORT ENFILE ENOLCK
24 ECONNABORTED ECANCELED EDEADLK ESRMNT ENOLINK ETIME ENOTDIR EINVAL
25 ENOTTY ENOANO ELOOP ENOENT EPFNOSUPPORT EBADMSG ENOMEDIUM EL2HLT EDOM
26 EBFONT EKEYEXPIRED EMSGSIZE ENOCSI EL3RST ENOSPC EIDRM ENOBUFS ENOSYS
27 EHOSTDOWN EBADFD ENOSR ENOTCONN ESTALE EDQUOT EKEYREJECTED EMFILE
28 ENOTRECOVERABLE EACCES EBUSY E2BIG EPERM ELIBEXEC ETOOMANYREFS ELIBACC
29 ENOTUNIQ ECOMM ERESTART ESOCKTNOSUPPORT EUNATCH ETIMEDOUT ENXIO ENODEV
30 ETXTBSY EMLINK ECHILD EHOSTUNREACH EREMCHG ENOTEMPTY);
31
32112µs%EXPORT_TAGS = (
33 POSIX => [qw(
34 E2BIG EACCES EADDRINUSE EADDRNOTAVAIL EAFNOSUPPORT EAGAIN EALREADY
35 EBADF EBUSY ECHILD ECONNABORTED ECONNREFUSED ECONNRESET EDEADLK
36 EDESTADDRREQ EDOM EDQUOT EEXIST EFAULT EFBIG EHOSTDOWN EHOSTUNREACH
37 EINPROGRESS EINTR EINVAL EIO EISCONN EISDIR ELOOP EMFILE EMLINK
38 EMSGSIZE ENAMETOOLONG ENETDOWN ENETRESET ENETUNREACH ENFILE ENOBUFS
39 ENODEV ENOENT ENOEXEC ENOLCK ENOMEM ENOPROTOOPT ENOSPC ENOSYS ENOTBLK
40 ENOTCONN ENOTDIR ENOTEMPTY ENOTSOCK ENOTTY ENXIO EOPNOTSUPP EPERM
41 EPFNOSUPPORT EPIPE EPROTONOSUPPORT EPROTOTYPE ERANGE EREMOTE ERESTART
42 EROFS ESHUTDOWN ESOCKTNOSUPPORT ESPIPE ESRCH ESTALE ETIMEDOUT
43 ETOOMANYREFS ETXTBSY EUSERS EWOULDBLOCK EXDEV
44 )]
45);
46
47sub EPERM () { 1 }
48sub ENOENT () { 2 }
49sub ESRCH () { 3 }
50sub EINTR () { 4 }
51sub EIO () { 5 }
52sub ENXIO () { 6 }
53sub E2BIG () { 7 }
54sub ENOEXEC () { 8 }
55sub EBADF () { 9 }
56sub ECHILD () { 10 }
57sub EWOULDBLOCK () { 11 }
58sub EAGAIN () { 11 }
59sub ENOMEM () { 12 }
60sub EACCES () { 13 }
61sub EFAULT () { 14 }
62sub ENOTBLK () { 15 }
63sub EBUSY () { 16 }
64sub EEXIST () { 17 }
65sub EXDEV () { 18 }
66sub ENODEV () { 19 }
67sub ENOTDIR () { 20 }
68sub EISDIR () { 21 }
69sub EINVAL () { 22 }
70sub ENFILE () { 23 }
71sub EMFILE () { 24 }
72sub ENOTTY () { 25 }
73sub ETXTBSY () { 26 }
74sub EFBIG () { 27 }
75sub ENOSPC () { 28 }
76sub ESPIPE () { 29 }
77sub EROFS () { 30 }
78sub EMLINK () { 31 }
79sub EPIPE () { 32 }
80sub EDOM () { 33 }
81sub ERANGE () { 34 }
82sub EDEADLOCK () { 35 }
83sub EDEADLK () { 35 }
84sub ENAMETOOLONG () { 36 }
85sub ENOLCK () { 37 }
86sub ENOSYS () { 38 }
87sub ENOTEMPTY () { 39 }
88sub ELOOP () { 40 }
89sub ENOMSG () { 42 }
90sub EIDRM () { 43 }
91sub ECHRNG () { 44 }
92sub EL2NSYNC () { 45 }
93sub EL3HLT () { 46 }
94sub EL3RST () { 47 }
95sub ELNRNG () { 48 }
96sub EUNATCH () { 49 }
97sub ENOCSI () { 50 }
98sub EL2HLT () { 51 }
99sub EBADE () { 52 }
100sub EBADR () { 53 }
101sub EXFULL () { 54 }
102sub ENOANO () { 55 }
103sub EBADRQC () { 56 }
104sub EBADSLT () { 57 }
105sub EBFONT () { 59 }
106sub ENOSTR () { 60 }
107sub ENODATA () { 61 }
108sub ETIME () { 62 }
109sub ENOSR () { 63 }
110sub ENONET () { 64 }
111sub ENOPKG () { 65 }
112sub EREMOTE () { 66 }
113sub ENOLINK () { 67 }
114sub EADV () { 68 }
115sub ESRMNT () { 69 }
116sub ECOMM () { 70 }
117sub EPROTO () { 71 }
118sub EMULTIHOP () { 72 }
119sub EDOTDOT () { 73 }
120sub EBADMSG () { 74 }
121sub EOVERFLOW () { 75 }
122sub ENOTUNIQ () { 76 }
123sub EBADFD () { 77 }
124sub EREMCHG () { 78 }
125sub ELIBACC () { 79 }
126sub ELIBBAD () { 80 }
127sub ELIBSCN () { 81 }
128sub ELIBMAX () { 82 }
129sub ELIBEXEC () { 83 }
130sub EILSEQ () { 84 }
131sub ERESTART () { 85 }
132sub ESTRPIPE () { 86 }
133sub EUSERS () { 87 }
134sub ENOTSOCK () { 88 }
135sub EDESTADDRREQ () { 89 }
136sub EMSGSIZE () { 90 }
137sub EPROTOTYPE () { 91 }
138sub ENOPROTOOPT () { 92 }
139sub EPROTONOSUPPORT () { 93 }
140sub ESOCKTNOSUPPORT () { 94 }
141sub ENOTSUP () { 95 }
142sub EOPNOTSUPP () { 95 }
143sub EPFNOSUPPORT () { 96 }
144sub EAFNOSUPPORT () { 97 }
145sub EADDRINUSE () { 98 }
146sub EADDRNOTAVAIL () { 99 }
147sub ENETDOWN () { 100 }
148sub ENETUNREACH () { 101 }
149sub ENETRESET () { 102 }
150sub ECONNABORTED () { 103 }
151sub ECONNRESET () { 104 }
152sub ENOBUFS () { 105 }
153sub EISCONN () { 106 }
154sub ENOTCONN () { 107 }
155sub ESHUTDOWN () { 108 }
156sub ETOOMANYREFS () { 109 }
157sub ETIMEDOUT () { 110 }
158sub ECONNREFUSED () { 111 }
159sub EHOSTDOWN () { 112 }
160sub EHOSTUNREACH () { 113 }
161sub EALREADY () { 114 }
162sub EINPROGRESS () { 115 }
163sub ESTALE () { 116 }
164sub EUCLEAN () { 117 }
165sub ENOTNAM () { 118 }
166sub ENAVAIL () { 119 }
167sub EISNAM () { 120 }
168sub EREMOTEIO () { 121 }
169sub EDQUOT () { 122 }
170sub ENOMEDIUM () { 123 }
171sub EMEDIUMTYPE () { 124 }
172sub ECANCELED () { 125 }
173sub ENOKEY () { 126 }
174sub EKEYEXPIRED () { 127 }
175sub EKEYREVOKED () { 128 }
176sub EKEYREJECTED () { 129 }
177sub EOWNERDEAD () { 130 }
178sub ENOTRECOVERABLE () { 131 }
179sub ERFKILL () { 132 }
180
181114µs
# spent 9µs within Errno::TIEHASH which was called: # once (9µs+0s) by Cache::Memcached::BEGIN@19 at line 224
sub TIEHASH { bless [] }
182
183sub FETCH {
184 my ($self, $errname) = @_;
185 my $proto = prototype("Errno::$errname");
186 my $errno = "";
187 if (defined($proto) && $proto eq "") {
1883289µs269µs
# spent 45µs (21+24) within Errno::BEGIN@188 which was called: # once (21µs+24µs) by Cache::Memcached::BEGIN@19 at line 188
no strict 'refs';
# spent 45µs making 1 call to Errno::BEGIN@188 # spent 24µs making 1 call to strict::unimport
189 $errno = &$errname;
190 $errno = 0 unless $! == $errno;
191 }
192 return $errno;
193}
194
195sub STORE {
196 require Carp;
197 Carp::confess("ERRNO hash is read only!");
198}
199
20012µs*CLEAR = \&STORE;
2011500ns*DELETE = \&STORE;
202
203sub NEXTKEY {
204 my($k,$v);
205 while(($k,$v) = each %Errno::) {
206 my $proto = prototype("Errno::$k");
207 last if (defined($proto) && $proto eq "");
208 }
209 $k
210}
211
212sub FIRSTKEY {
213 my $s = scalar keys %Errno::; # initialize iterator
214 goto &NEXTKEY;
215}
216
217sub EXISTS {
218 my ($self, $errname) = @_;
219 my $r = ref $errname;
220 my $proto = !$r || $r eq 'CODE' ? prototype($errname) : undef;
221 defined($proto) && $proto eq "";
222}
223
22415µs19µstie %!, __PACKAGE__;
# spent 9µs making 1 call to Errno::TIEHASH
225
226124µs1;
227__END__