| Filename | /home/doy/nytprof/kioku-new/accessor object (defined at /home/doy/perl5/perlbrew/perls/perl-5.10.1/lib/site_perl/5.10.1/KiokuDB/Entry.pm line 100) |
| Statements | Executed 2 statements in 46µs |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 26µs | 26µs | Eval::Closure::__ANON__[accessor object (defined at KiokuDB/Entry.pm line 100):9] |
| 0 | 0 | 0 | 0s | 0s | Eval::Closure::__ANON__[accessor object (defined at KiokuDB/Entry.pm line 100):8] |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | # spent 26µs within Eval::Closure::__ANON__[accessor object (defined at /home/doy/perl5/perlbrew/perls/perl-5.10.1/lib/site_perl/5.10.1/KiokuDB/Entry.pm line 100):9] which was called:
# once (26µs+0s) by Eval::Closure::_clean_eval_closure at line 94 of Eval/Closure.pm | ||||
| 2 | my $attr = ${$_[0]}; | ||||
| 3 | my $meta = ${$_[1]}; | ||||
| 4 | my $type_constraint = ${$_[2]}; | ||||
| 5 | my $type_constraint_obj = ${$_[3]}; | ||||
| 6 | #line 1 "accessor object (defined at /home/doy/perl5/perlbrew/perls/perl-5.10.1/lib/site_perl/5.10.1/KiokuDB/Entry.pm line 100)" | ||||
| 7 | sub { | ||||
| 8 | if (@_ > 1) { | ||||
| 9 | 1 | 27µs | $_[0]->{"object"} = $_[1]; | ||
| 10 | 1 | 20µs | Scalar::Util::weaken( $_[0]->{"object"} ) | ||
| 11 | if ref $_[1]; | ||||
| 12 | } | ||||
| 13 | return $_[0]->{"object"}; | ||||
| 14 | } | ||||
| 15 | } | ||||
| 16 | ; |