Module Expr Str ImportFrom alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias Assign NameStore ListLoad Str ClassDef bases NameLoad NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad kwarg body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad Num attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body With AttributeLoad NameLoad attr body For NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list
N/A N/A 
   profiling.remote.gevent
   ~~~~~~~~~~~~~~~~~~~~~~~

   Implements a profiling server based on `gevent`_.

   .. _gevent: http://gevent.org/

   :copyright: (c) 2014-2016, What! Studio
   :license: BSD, see LICENSE for more details.

 __future__ absolute_import N/A socket N/A gevent gevent.lock Semaphore gevent.server StreamServer gevent.util wrap_errors N/A INTERVAL LOG PICKLE_PROTOCOL ProfilingServer N/A __all__ N/A GeventProfilingServer GeventProfilingServer N/A StreamServer ProfilingServer N/A N/A A profiling server implementation based on `gevent`_.  When you choose
    it, you should set a :class:`profiling.timers.greenlet.GreenletTimer` for
    the profiler's timer::

       sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
       sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
       sock.bind(('', 0))
       sock.listen(1)

       profiler = Profiler(GreenletTimer())
       server = GeventProfilingServer(sock, profiler)
       server.serve_forever()

    .. _gevent: http://gevent.org/

     __init__ N/A N/A self listener profiler interval log pickle_protocol N/A None INTERVAL LOG PICKLE_PROTOCOL server_kwargs N/A N/A N/A N/A StreamServer __init__ self listener server_kwargs N/A N/A N/A ProfilingServer __init__ self profiler interval log pickle_protocol N/A N/A self lock N/A Semaphore N/A _send N/A N/A self sock data N/A N/A N/A N/A N/A sock sendall data N/A _close N/A N/A self sock N/A N/A N/A N/A N/A sock close N/A _addr N/A N/A self sock N/A N/A N/A N/A N/A sock getsockname N/A _start_profiling N/A N/A self N/A N/A N/A N/A N/A gevent spawn N/A self profile_periodically N/A _start_watching N/A N/A self sock N/A N/A N/A disconnected N/A N/A N/A x N/A N/A N/A self disconnected sock N/A recv N/A wrap_errors N/A socket error N/A sock recv N/A N/A N/A N/A N/A gevent spawn recv 1 link disconnected N/A profile_periodically N/A N/A self N/A N/A N/A N/A self lock N/A N/A __ N/A N/A self profiling N/A N/A N/A N/A gevent sleep N/A self interval N/A handle N/A N/A self sock addr N/A None N/A N/A N/A N/A self connected sock N/A N/A