← Index
NYTProf Performance Profile   « block view • line view • sub view »
For -e
  Run on Wed Nov 17 21:42:38 2010
Reported on Wed Nov 17 22:08:58 2010

Filename/home/doy/nytprof/kioku-new/accessor _set_current_scope of attribute current_scope (defined at /home/doy/perl5/perlbrew/perls/perl-5.10.1/lib/site_perl/5.10.1/KiokuDB/LiveObjects.pm line 155)
StatementsExecuted 2 statements in 62µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11132µs32µsEval::Closure::::__ANON__[accessor _set_current_scope of attribute current_scope (defined at KiokuDB/LiveObjects.pm line 155):9]Eval::Closure::__ANON__[accessor _set_current_scope of attribute current_scope (defined at KiokuDB/LiveObjects.pm line 155):9]
0000s0sEval::Closure::::__ANON__[accessor _set_current_scope of attribute current_scope (defined at KiokuDB/LiveObjects.pm line 155):8]Eval::Closure::__ANON__[accessor _set_current_scope of attribute current_scope (defined at KiokuDB/LiveObjects.pm line 155):8]
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1
# spent 32µs within Eval::Closure::__ANON__[accessor _set_current_scope of attribute current_scope (defined at /home/doy/perl5/perlbrew/perls/perl-5.10.1/lib/site_perl/5.10.1/KiokuDB/LiveObjects.pm line 155):9] which was called: # once (32µs+0s) by Eval::Closure::_clean_eval_closure at line 94 of Eval/Closure.pm
sub {
2my $attr = ${$_[0]};
3my $meta = ${$_[1]};
4my $type_constraint = ${$_[2]};
5my $type_constraint_obj = ${$_[3]};
6#line 1 "accessor _set_current_scope of attribute current_scope (defined at /home/doy/perl5/perlbrew/perls/perl-5.10.1/lib/site_perl/5.10.1/KiokuDB/LiveObjects.pm line 155)"
7sub {
8if (!$type_constraint->($_[1])) {
9142µs$meta->throw_error("Attribute (current_scope) does not pass the type constraint because: " . $type_constraint_obj->get_message($_[1]), data => $_[1]);
10120µs}
11$_[0]->{"current_scope"} = $_[1];
12Scalar::Util::weaken( $_[0]->{"current_scope"} )
13if ref $_[1];
14}
15}
16;