GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  GUNGHO::PLUGIN::REQUESTTIMER (3)

.ds Aq ’

NAME

Gungho::Plugin::RequestTimer - Keep Track Of Time To Finish Request

CONTENTS

SYNOPSIS



  plugins:
    -
      module: RequestTimer
      config:
        verbose: 0 # optional



DESCRIPTION

NOTICE This module has been deprecated. Please use RequestLog instead.

Gungho::Plugin::RequestTimer allows you to keep track of the time it took to finish fetching a particular request. The time when the request started, the time when the request was handed to handle_response(), and the total time between the latter two points are stored under the request object’s notes() slot.



  $request->notes(send_request_time);
  $request->notes(handle_response_time);
  $request->notes(total_request_time);



Note that these values may not correspond exactly to when the acutal HTTP transaction started/finished, but rather, it’s just a hook to show when these particular events happened in Gungho’s life cycle.

If you have Time::HiRes in your system, Time::HiRes::time() is used over regular time() as the store time values.

METHODS

setup()

Sets up the plugin.

log_start()

Starts logging

log_stop()

Ends logging

AUTHOR

Copyright (c) 2007 Daisuke Maki <daisuke@endeworks.jp>

All rights reserved.

LICENSE

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://www.perl.com/perl/misc/Artistic.html

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 GUNGHO::PLUGIN::REQUESTTIMER (3) 2007-10-23

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.