Module Expr Str Import alias Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias ClassDef bases NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num kwarg body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body AugAssignAdd AttributeStore NameLoad attr Num If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Return Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr TryFinally body Return Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad finalbody Assign NameStore Call AttributeLoad NameLoad attr TryExcept body If CompareGt BinOpSub NameLoad NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Lambda arguments args NameParam defaults Call NameLoad Call NameLoad NameLoad Call NameLoad NameLoad Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Assign NameStore BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad BinOpAdd NameLoad Str With Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad BinOpAdd NameLoad Str Str NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Dict Str Str Str Str Str Str Call NameLoad GeneratorExp TupleLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad NameLoad NameLoad AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr keyword Num decorator_list decorator_list
N/A N/A 
perftools.middleware.remoteprof
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

:copyright: (c) 2010 DISQUS.
:license: Apache License 2.0, see LICENSE for more details.
 N/A cProfile N/A logging N/A os.path N/A socket N/A simplejson N/A thread N/A time perftools.middleware Base RemoteProfilingMiddleware N/A Base N/A N/A logger N/A N/A logging getLogger __name__ __init__ N/A N/A self application outpath threshold N/A 0.5 kwargs N/A N/A N/A self application application N/A N/A self outpath outpath N/A N/A self threshold threshold N/A N/A self hostname N/A N/A socket gethostname N/A N/A N/A N/A super RemoteProfilingMiddleware self __init__ application kwargs N/A __call__ N/A N/A self environ start_response N/A N/A N/A N/A self reqnum 1 N/A N/A N/A N/A self should_run environ N/A N/A N/A N/A self application environ start_response N/A profile N/A N/A cProfile Profile N/A start N/A N/A time time N/A N/A N/A N/A list N/A N/A profile runcall N/A self application environ start_response N/A N/A stop N/A N/A time time N/A N/A N/A N/A N/A stop start N/A self threshold N/A N/A N/A N/A self report_result profile environ start stop N/A self outpath N/A N/A N/A Exception N/A e N/A N/A N/A N/A N/A self logger exception e N/A report_result N/A N/A self profile environ start stop outpath N/A N/A N/A thread_ident N/A N/A thread get_ident N/A ts_parts N/A map N/A N/A N/A x N/A N/A str N/A int x N/A divmod start 100000 N/A outpath N/A N/A N/A os path join N/A self outpath N/A ts_parts N/A 0 N/A ts_parts N/A 1 N/A outfile_base N/A %s-%s N/A N/A self reqnum thread_ident N/A N/A N/A N/A N/A os path exists outpath N/A N/A N/A N/A os makedirs outpath N/A N/A N/A profile dump_stats N/A N/A N/A os path join outpath N/A outfile_base .profile N/A N/A open N/A N/A N/A os path join outpath N/A outfile_base .json w fp N/A N/A N/A N/A fp write N/A N/A simplejson dumps N/A environ start_time stop_time request_number thread_ident hostname N/A dict N/A N/A k v N/A N/A k v N/A N/A environ iteritems N/A isinstance v basestring start stop N/A self reqnum thread_ident N/A self hostname indent 2 N/A N/A