Module Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias alias ImportFrom alias alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Dict decorator_list FunctionDef arguments args NameParam defaults body For TupleStore NameStore NameStore NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body For NameStore Call NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr TupleLoad Str Num Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad Str Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad ClassDef bases NameLoad body Assign NameStore ListLoad FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list Assign AttributeStore NameLoad attr Call NameLoad Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str keyword Num keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list Return Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Assign NameStore ListLoad For NameStore Call NameLoad Num body Expr Call AttributeLoad NameLoad attr Dict Str Str Str Str Str Str Str Str Str Str Str Str BinOpAdd Num NameLoad ListLoad Str BinOpAdd Num BinOpDiv NameLoad Num Num Str Num Str Str Num NameLoad Str FunctionDef arguments args NameParam defaults body TryExcept body Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index SubscriptLoad NameLoad Index NameLoad attr handlers ExceptHandler type NameLoad body Raise Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign SubscriptStore NameLoad Index Str NameLoad AugAssignAdd SubscriptStore NameLoad Index NameLoad Num Return NameLoad decorator_list Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr TryFinally body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str ListLoad Num Num Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Assign AttributeStore NameLoad attr Dict Num Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str ListLoad Num Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Str Str finalbody Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Assign NameStore Dict For NameStore Call NameLoad Num Num body Assign NameStore BinOpAdd Num NameLoad Assign SubscriptStore NameLoad Index NameLoad Dict Str Str Str Str Str Str Str Str Str Str Str Str Num ListLoad Str BinOpAdd Num BinOpDiv NameLoad Num Num Str BinOpAdd Num BinOpFloorDiv NameLoad Num Str Str Str NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Num Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Assign NameStore Dict For NameStore Call NameLoad Num Num body Assign NameStore BinOpAdd Num NameLoad Assign SubscriptStore NameLoad Index NameLoad Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str ListLoad Str Str Num Str Str Str Str Num NameLoad Str NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num For NameStore Call NameLoad Num body For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr For TupleStore NameStore NameStore NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareGt Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Expr Call AttributeLoad NameLoad attr CompareIn SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareGt SubscriptLoad NameLoad Index Str Num decorator_list decorator_list Assign NameStore Call NameLoad NameLoad
N/A N/A socket N/A time collections defaultdict circus.fixed_threading Thread zmq.eventloop ioloop circus.stats collector collector_module circus.stats.collector SocketStatsCollector WatcherStatsCollector circus.tests.support TestCase EasyTestSuite TestCollector N/A TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self socks N/A N/A N/A self clients N/A N/A N/A self fds N/A N/A N/A self pids N/A N/A tearDown N/A N/A self N/A N/A N/A N/A sock _ _ N/A self socks N/A N/A N/A N/A sock close N/A sock N/A self clients N/A N/A N/A N/A sock close N/A _get_streamer N/A N/A self N/A N/A N/A i N/A range 10 N/A N/A sock N/A N/A socket socket N/A socket AF_INET N/A socket SOCK_STREAM N/A N/A N/A sock bind N/A localhost 0 N/A N/A N/A sock listen 1 N/A N/A N/A N/A self socks append N/A sock localhost:0 N/A N/A sock fileno N/A N/A N/A N/A self fds append N/A N/A sock fileno N/A client N/A N/A socket socket N/A socket AF_INET N/A socket SOCK_STREAM N/A N/A N/A client connect N/A N/A sock getsockname N/A N/A N/A N/A self clients append client FakeStreamer N/A object N/A N/A stats N/A __init__ N/A N/A this N/A N/A N/A N/A this sockets N/A self socks N/A circus_pids N/A N/A this N/A N/A N/A N/A self circus_pids N/A property get_pids N/A N/A this name N/A N/A N/A N/A N/A self pids N/A name N/A publisher N/A N/A this N/A N/A N/A this N/A property publish N/A N/A this name stat N/A N/A N/A N/A N/A N/A this stats append stat N/A N/A N/A N/A self streamer N/A FakeStreamer N/A N/A self streamer N/A _get_collector N/A N/A self collector_class N/A N/A N/A N/A N/A self _get_streamer Collector N/A Thread N/A __init__ N/A N/A this streamer N/A N/A N/A N/A N/A Thread __init__ this N/A N/A this streamer streamer N/A N/A this loop N/A N/A ioloop IOLoop N/A N/A this daemon True N/A run N/A N/A self N/A N/A N/A collector N/A collector_class N/A self streamer sockets callback_time 0.1 io_loop N/A self loop N/A N/A N/A collector start N/A N/A N/A N/A self loop start N/A stop N/A N/A self N/A N/A N/A N/A N/A N/A self loop add_callback N/A N/A self loop stop N/A N/A N/A N/A self loop add_callback N/A N/A self loop close N/A N/A N/A N/A Collector N/A self streamer N/A test_watcherstats N/A N/A self N/A N/A N/A calls N/A defaultdict int N/A info N/A N/A i N/A range 2 N/A N/A N/A N/A info append N/A age children cmdline cpu create_time ctime mem mem_info1 mem_info2 nice pid username N/A 154058.911114 i N/A python N/A 0.0 N/A i 10.0 1378663281.96 0:00.0 0.0 52K 39M 0 None alexis _get_info N/A N/A pid N/A N/A N/A N/A N/A data N/A N/A N/A info N/A N/A calls N/A pid copy N/A N/A N/A IndexError N/A N/A N/A N/A N/A collector_module util NoSuchProcess pid N/A N/A data N/A pid pid N/A N/A calls N/A pid 1 N/A data N/A N/A old_info N/A N/A collector_module util get_info N/A N/A N/A N/A N/A collector_module util get_info _get_info N/A N/A N/A self pids N/A firefox N/A 2353 2354 N/A collector N/A WatcherStatsCollector N/A N/A self _get_streamer firefox N/A stats N/A list N/A N/A collector collect_stats N/A N/A N/A self assertEqual N/A len stats 3 N/A stats N/A list N/A N/A collector collect_stats N/A N/A N/A self assertEqual N/A len stats 3 N/A stats N/A list N/A N/A collector collect_stats N/A N/A N/A self assertEqual N/A len stats 1 N/A N/A self circus_pids N/A 1234 ohyeah N/A N/A N/A self pids N/A circus N/A 1234 N/A collector N/A WatcherStatsCollector N/A N/A self _get_streamer circus N/A stats N/A list N/A N/A collector collect_stats N/A N/A N/A self assertEqual N/A N/A stats N/A 0 N/A name ohyeah N/A N/A N/A N/A collector_module util get_info old_info N/A test_collector_aggregation N/A N/A self N/A N/A N/A collector N/A WatcherStatsCollector N/A N/A self _get_streamer firefox N/A aggregate N/A N/A i N/A range 0 10 N/A N/A pid N/A 1000 i N/A N/A aggregate N/A pid N/A age children cmdline cpu create_time ctime mem mem_info1 mem_info2 username subtopic name 154058.911114 N/A python N/A 0.0 N/A i 10.0 1378663281.96 0:00.0 N/A 0.0 N/A i 10 52K 39M alexis pid firefox N/A res N/A N/A collector _aggregate aggregate N/A N/A N/A self assertEqual N/A res N/A mem 0 N/A N/A N/A self assertEqual N/A len N/A res N/A pid 10 N/A N/A N/A self assertEqual N/A res N/A cpu 0.45 N/A test_collector_aggregation_when_unknown_values N/A N/A self N/A N/A N/A collector N/A WatcherStatsCollector N/A N/A self _get_streamer firefox N/A aggregate N/A N/A i N/A range 0 10 N/A N/A pid N/A 1000 i N/A N/A aggregate N/A pid N/A age children cmdline cpu create_time ctime mem mem_info1 mem_info2 nice pid username subtopic name N/A N/A python N/A 1378663281.96 0:00.0 N/A 52K 39M 0 pid alexis pid firefox N/A res N/A N/A collector _aggregate aggregate N/A N/A N/A self assertEqual N/A res N/A mem N/A N/A N/A N/A self assertEqual N/A len N/A res N/A pid 10 N/A N/A N/A self assertEqual N/A res N/A cpu N/A N/A test_socketstats N/A N/A self N/A N/A N/A collector N/A N/A self _get_collector SocketStatsCollector N/A N/A N/A collector start N/A N/A N/A time sleep 1.0 N/A i N/A range 10 N/A N/A client N/A self clients N/A N/A N/A N/A client send ok N/A N/A N/A collector stop N/A N/A s _ _ N/A self socks N/A N/A N/A N/A s close N/A N/A N/A self assertTrue N/A N/A len N/A N/A self streamer stats 2 N/A stat N/A N/A N/A self streamer stats N/A 0 N/A N/A N/A self assertTrue N/A N/A stat N/A fd N/A self fds N/A N/A N/A self assertTrue N/A N/A stat N/A reads 1 N/A N/A N/A test_suite N/A EasyTestSuite __name__