← Index
NYTProf Performance Profile   « block view • line view • sub view »
For xt/tapper-mcp-scheduler-with-db-longrun.t
  Run on Tue May 22 17:18:39 2012
Reported on Tue May 22 17:22:35 2012

Filename/2home/ss5/perl5/perlbrew/perls/perl-5.12.3/lib/site_perl/5.12.3/Log/Log4perl/Layout/SimpleLayout.pm
StatementsExecuted 19 statements in 201µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11124µs24µsLog::Log4perl::Layout::SimpleLayout::::BEGIN@8Log::Log4perl::Layout::SimpleLayout::BEGIN@8
11110µs84µsLog::Log4perl::Layout::SimpleLayout::::BEGIN@14Log::Log4perl::Layout::SimpleLayout::BEGIN@14
1117µs49µsLog::Log4perl::Layout::SimpleLayout::::BEGIN@11Log::Log4perl::Layout::SimpleLayout::BEGIN@11
1117µs18µsLog::Log4perl::Layout::SimpleLayout::::BEGIN@10Log::Log4perl::Layout::SimpleLayout::BEGIN@10
1117µs10µsLog::Log4perl::Layout::SimpleLayout::::BEGIN@9Log::Log4perl::Layout::SimpleLayout::BEGIN@9
1117µs16µsLog::Log4perl::Layout::SimpleLayout::::BEGIN@13Log::Log4perl::Layout::SimpleLayout::BEGIN@13
0000s0sLog::Log4perl::Layout::SimpleLayout::::newLog::Log4perl::Layout::SimpleLayout::new
0000s0sLog::Log4perl::Layout::SimpleLayout::::renderLog::Log4perl::Layout::SimpleLayout::render
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1##################################################
2package Log::Log4perl::Layout::SimpleLayout;
3##################################################
4# as documented in
5# http://jakarta.apache.org/log4j/docs/api/org/apache/log4j/SimpleLayout.html
6##################################################
7
8333µs124µs
# spent 24µs within Log::Log4perl::Layout::SimpleLayout::BEGIN@8 which was called: # once (24µs+0s) by Log::Log4perl::Layout::BEGIN@4 at line 8
use 5.006;
# spent 24µs making 1 call to Log::Log4perl::Layout::SimpleLayout::BEGIN@8
9317µs212µs
# spent 10µs (7+3) within Log::Log4perl::Layout::SimpleLayout::BEGIN@9 which was called: # once (7µs+3µs) by Log::Log4perl::Layout::BEGIN@4 at line 9
use strict;
# spent 10µs making 1 call to Log::Log4perl::Layout::SimpleLayout::BEGIN@9 # spent 2µs making 1 call to strict::import
10320µs230µs
# spent 18µs (7+11) within Log::Log4perl::Layout::SimpleLayout::BEGIN@10 which was called: # once (7µs+11µs) by Log::Log4perl::Layout::BEGIN@4 at line 10
use warnings;
# spent 18µs making 1 call to Log::Log4perl::Layout::SimpleLayout::BEGIN@10 # spent 11µs making 1 call to warnings::import
11320µs291µs
# spent 49µs (7+42) within Log::Log4perl::Layout::SimpleLayout::BEGIN@11 which was called: # once (7µs+42µs) by Log::Log4perl::Layout::BEGIN@4 at line 11
use Log::Log4perl::Level;
# spent 49µs making 1 call to Log::Log4perl::Layout::SimpleLayout::BEGIN@11 # spent 42µs making 1 call to Log::Log4perl::Level::import
12
13324µs225µs
# spent 16µs (7+9) within Log::Log4perl::Layout::SimpleLayout::BEGIN@13 which was called: # once (7µs+9µs) by Log::Log4perl::Layout::BEGIN@4 at line 13
no strict qw(refs);
# spent 16µs making 1 call to Log::Log4perl::Layout::SimpleLayout::BEGIN@13 # spent 9µs making 1 call to strict::unimport
14386µs284µs
# spent 84µs (10+74) within Log::Log4perl::Layout::SimpleLayout::BEGIN@14 which was called: # once (10µs+74µs) by Log::Log4perl::Layout::BEGIN@4 at line 14
use base qw(Log::Log4perl::Layout);
# spent 84µs making 1 call to Log::Log4perl::Layout::SimpleLayout::BEGIN@14 # spent 74µs making 1 call to base::import, recursion: max depth 1, sum of overlapping time 74µs
15
16##################################################
17sub new {
18##################################################
19 my $class = shift;
20 $class = ref ($class) || $class;
21
22 my $self = {
23 format => undef,
24 info_needed => {},
25 stack => [],
26 };
27
28 bless $self, $class;
29
30 return $self;
31}
32
33##################################################
34sub render {
35##################################################
36 my($self, $message, $category, $priority, $caller_level) = @_;
37
38 return "$priority - $message\n";
39}
40
4112µs1;
42
43__END__