diff --git a/src/parallel b/src/parallel index 72d61d72..2997f0f2 100755 --- a/src/parallel +++ b/src/parallel @@ -1306,6 +1306,15 @@ sub start_another_job { } } +sub init_progress { + # Returns: + # list of computers for progress output + $|=1; + my %progress = progress(); + return ("\nComputers / CPU cores / Max jobs to run\n", + $progress{'workerlist'}); +} + sub drain_job_queue { # Returns: N/A $Private::first_completed ||= time; @@ -1366,15 +1375,6 @@ sub toggle_progress { } } -sub init_progress { - # Returns: - # list of computers for progress output - $|=1; - my %progress = progress(); - return ("\nComputers / CPU cores / Max jobs to run\n", - $progress{'workerlist'}); -} - sub progress { # Returns: # list of workers