Revision 8fac2b08
Von Sven Schöling vor mehr als 14 Jahren hinzugefügt
SL/LXDebug.pm | ||
---|---|---|
245 | 245 |
$self->{calldepth} = 0; |
246 | 246 |
} |
247 | 247 |
|
248 |
sub log_time { |
|
249 |
my $self = shift; |
|
250 |
return 1 unless want_request_timer(); |
|
251 |
$self->_write("time", $self->get_request_time); |
|
252 |
} |
|
253 |
|
|
248 | 254 |
sub get_request_time { |
249 | 255 |
my $self = shift; |
250 | 256 |
return $self->want_request_timer && $self->{request_start} ? tv_interval($self->{request_start}) : undef; |
Auch abrufbar als: Unified diff
LXDebug->log_time routine