androlyze.analyze.distributed package

Submodules

androlyze.analyze.distributed.AnalysisStatsView module

class androlyze.analyze.distributed.AnalysisStatsView.AnalysisStatsView(cnt_total_tasks, tasks_per_chunk=1, result=None)[source]

Bases: androlyze.util.StopThread.StopThread

Thread showing current analysis progress. Also keeps track of succesful and failed tasks count.

Attributes

Methods

cnt_total_task

int : Number of total tasks. Setter is thread

del_cnt_total_task()[source]
del_failed_tasks()[source]
del_successful_tasks()[source]
failed_tasks

int : Number of failed tasks.

get_chunked_cnt(cnt)[source]

Get correct count then using chunk`s. Each `chunk contains self.tasks_per_chunk tasks

get_cnt_total_task()[source]
get_failed_tasks()[source]
get_successful_tasks()[source]
get_total_run_tasks()[source]

Return the total number of tasks that have been run (succesful + failed)

get_total_run_tasks_sm()[source]

Return the total number of tasks that have been run (succesful + failed) via shared memory

print_progess()[source]

Show the progress on run

run()[source]

Print progress until terminate event set

set_cnt_total_task(value)[source]
set_failed_tasks(value)[source]
set_successful_tasks(value)[source]
successful_tasks

int : Number of succesful tasks.

androlyze.analyze.distributed.DistributedAnalyzer module

Module contents