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  -  POE::DEVEL::PROFILER (3)

.ds Aq ’

NAME

POE::Devel::Profiler - profiles POE programs

CONTENTS

SYNOPSIS



        perl -MPOE::Devel::Profiler myPOEapp.pl
        poepp BasicSummary



CHANGES

    0.02



        Added the BasicGraphViz Visualizer -> use it like:
                poepp BasicGraphViz > output.dot
                dot -Tpng -o output.png output.dot



    0.01



        First release!



ABSTRACT



        Profiles POE programs for useful data



DESCRIPTION

This module profiles POE programs, in the same way the Devel::DProf family of modules do.

Currently, POE::Devel::Profiler will profile the following:



        Program start/end
        Session create/destruction
        alarm_set
        delay_set
        signal
        alias_set
        yield/post/call from a session
        entering an event ( also includes _default states and failed states )
        Garbage Collection on a session



POE::Devel::Profiler will not profile:



        Anything not mentioned above :)



NOTES

    Compatibility?

This module is currently compatible only with POE::Session, further work will be needed.

    POE Options

If you want to set POE options like ASSERT_DEFAULT, it is currently not possible with this module. The only way to do it is to set environment variables or hardcode the following in your program:



        sub POE::Kernel::ASSERT_DEFAULT () { 1 }
        use POE::Devel::Profiler;
        use POE;



    Loading POE

POE::Devel::Profiler MUST be loaded before POE or craziness will ensue...

    Profiler data

The profile data is stored in the file ’poep.out’, don’t ask me why :)

To interpret the data, use the program ’poepp’ and any Visualizer you want, consult the poepp documentation.

SEE ALSO



        L<POE>

        L<POE::Devel::Profiler::Parser>

        L<poepp>



AUTHOR

Apocalypse <apocal@cpan.org>

COPYRIGHT AND LICENSE

Copyright 2004 by Apocalypse

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

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


perl v5.20.3 POE::DEVEL::PROFILER (3) 2004-10-18

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