androlyze.analyze.distributed package¶
Subpackages¶
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
-
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_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
-
successful_tasks
¶ int : Number of succesful tasks.
-