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  -  DEVEL::EVENTS::FILTER::STAMP (3)

.ds Aq ’

NAME

Devel::Events::Filter::Stamp - Add time/context stamping to events

CONTENTS

SYNOPSIS



        use Devel::Events::Filter::Stamp;

        my $filter = Devel::Events::Filter::Stamp->new(
                handler => $handler,
        );

        Generator::Blah->new( handler => $filter );



DESCRIPTION

This event filter will add timing and context information to the event.

The parameters are prepended so that upon hash assignment the event generator will get precedence.

METHODS

filter_event @event Prepends the output of stamp_data to @event
stamp_data Returns the new fields, as detailed in STAMP DATA

STAMP DATA

time A fractional timestamp, from Time::HiRes.

Suitable for passing to DateTime unaltered. Other modules may require application of int.

pid The value of $$
thread_id Only included if threads are in use.

The current thread ID.

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


perl v5.20.3 DEVEL::EVENTS::FILTER::STAMP (3) 2009-01-10

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