Module Expr Str Assign NameStore Str Assign NameStore Str Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str keyword Call AttributeLoad NameLoad attr Str Str keyword Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Print Str ClassDef bases body Expr Str Assign NameStore Num Assign NameStore Dict Str Str Str Str Str Str Str Str Num Num Num Num Num Num Num Num Assign NameStore Dict Str Str Str Str Str Str Str Str Str Num Num Num Num Num Num Num Num Num Assign NameStore Dict Str Str Num Num Assign NameStore ListLoad FunctionDef arguments args NameParam defaults vararg kwarg body Pass decorator_list FunctionDef arguments args NameParam defaults body For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr If CompareLtE Call AttributeLoad NameLoad attr Str Str Call NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Num BinOpMod Str TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad SubscriptLoad NameLoad Index Num Index Str SubscriptLoad SubscriptLoad NameLoad Index Num Index Str SubscriptLoad SubscriptLoad NameLoad Index Num Index Str SubscriptLoad SubscriptLoad NameLoad Index Num Index Str SubscriptLoad SubscriptLoad NameLoad Index Num Index Str SubscriptLoad SubscriptLoad NameLoad Index Num Index Str SubscriptLoad SubscriptLoad NameLoad Index Num Index Str SubscriptLoad SubscriptLoad NameLoad Index Num Index Str SubscriptLoad SubscriptLoad NameLoad Index Num Index Str SubscriptLoad SubscriptLoad NameLoad Index Num Index Str SubscriptLoad SubscriptLoad NameLoad Index Num Index Str SubscriptLoad SubscriptLoad NameLoad Index Num Index Str SubscriptLoad SubscriptLoad NameLoad Index Num Index Str SubscriptLoad SubscriptLoad NameLoad Index Num Index Str SubscriptLoad SubscriptLoad NameLoad Index Num Index Str SubscriptLoad SubscriptLoad NameLoad Index Num Index Str SubscriptLoad SubscriptLoad NameLoad Index Num Index Str SubscriptLoad SubscriptLoad NameLoad Index Num Index Str SubscriptLoad SubscriptLoad NameLoad Index Num Index Str Assign SubscriptStore AttributeLoad NameLoad attr Slice ListLoad decorator_list decorator_list Assign NameStore Call NameLoad
N/A N/A N/A __author__ Jerome Samson N/A __copyright__ Copyright 2014, Mikros Image N/A logging N/A logging.handlers N/A os copy copy octopus.core singletonconfig octopus.dispatcher settings N/A statsLog N/A N/A logging getLogger server_stats N/A N/A N/A statsLog setLevel 1 N/A N/A statsLog propagate False N/A N/A N/A hd N/A N/A N/A logging handlers RotatingFileHandler N/A N/A N/A os path join N/A settings LOGDIR stats.log maxBytes N/A N/A singletonconfig get CORE STATS_SIZE backupCount 0 N/A N/A N/A hd setFormatter N/A N/A logging Formatter %(message)s N/A N/A N/A hd setLevel 1 N/A N/A N/A statsLog addHandler hd N/A N/A N/A IOError N/A err N/A N/A Warning invalid path specified for log. DispatcherStats N/A N/A N/A 
    | Class holding custom infos on the dispatcher.
    | This data can be periodically flushed in a specific log file for later use
     N/A cycleDate 0.0 N/A cycleTimers N/A update_tree update_rn update_dependencies update_db compute_assignment send_assignment release_finishing time_elapsed 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 N/A cycleCounts N/A incoming_requests incoming_get incoming_post incoming_put incoming_delete add_graphs add_rns update_commands num_assignments 0 0 0 0 0 0 0 0 0 N/A assignmentTimers N/A update_max_rn dispatch_command 0.0 0.0 N/A accumulationBuffer N/A __init__ N/A N/A self N/A args kwargs N/A N/A N/A _resetCounts N/A N/A self N/A N/A N/A key N/A N/A N/A self cycleCounts keys N/A N/A N/A N/A self cycleCounts N/A key 0 N/A aggregate N/A N/A self N/A N/A N/A 
        | Called each cycle to store data in a buffer array
        | Once every BUFFER_SIZE cycles, the data is dumped in stats.log for later use
         N/A cycleData N/A N/A self cycleDate N/A copy N/A self cycleTimers N/A copy N/A self cycleCounts N/A copy N/A self assignmentTimers N/A N/A N/A N/A self accumulationBuffer append cycleData N/A N/A N/A self _resetCounts N/A N/A N/A N/A singletonconfig get CORE STATS_BUFFER_SIZE N/A len N/A self accumulationBuffer N/A N/A N/A N/A self _flush N/A True N/A _flush N/A N/A self N/A N/A N/A 
        TODO flush in a dedicated thread
         N/A line N/A self accumulationBuffer N/A N/A N/A N/A statsLog log 1 N/A %f;%f;%f;%f;%f;%f;%f;%f;%f;%d;%d;%d;%d;%d;%d;%d;%d;%d;%f;%f N/A N/A line N/A 0 N/A N/A line N/A 1 N/A update_tree N/A N/A line N/A 1 N/A update_rn N/A N/A line N/A 1 N/A update_dependencies N/A N/A line N/A 1 N/A update_db N/A N/A line N/A 1 N/A compute_assignment N/A N/A line N/A 1 N/A send_assignment N/A N/A line N/A 1 N/A release_finishing N/A N/A line N/A 1 N/A time_elapsed N/A N/A line N/A 2 N/A incoming_requests N/A N/A line N/A 2 N/A incoming_get N/A N/A line N/A 2 N/A incoming_post N/A N/A line N/A 2 N/A incoming_put N/A N/A line N/A 2 N/A incoming_delete N/A N/A line N/A 2 N/A add_graphs N/A N/A line N/A 2 N/A add_rns N/A N/A line N/A 2 N/A update_commands N/A N/A line N/A 2 N/A num_assignments N/A N/A line N/A 3 N/A update_max_rn N/A N/A line N/A 3 N/A dispatch_command N/A N/A N/A self accumulationBuffer N/A N/A N/A N/A N/A theStats N/A DispatcherStats