adelton

Apache2::RequestRec::Time

As of mod_perl 2.0.4, it is possible to get request duration information by substracting current time from $r->request_time(). However, that information is in seconds, so it's not possible to get the equivalent of Custom Log Format %D -- the time taken to serve the request, in microseconds.

This module adds $r->request_duration_microseconds() method, and a couple of utility methods.

Download Apache2-RequestRec-Time-1.1.tar.gz, the latest release.

Read the man page.

Copyright 2009--2011 Jan Pazdziora.

Licensed under the Apache License, Version 2.0.