Commit e7a498dc authored by Leo Gordon's avatar Leo Gordon
Browse files


parent 477c168f
......@@ -296,15 +296,12 @@ sub print_stats {
$mode=1 unless($mode);
my $name = sprintf("%s(%d)", $self->get_analysis->logic_name, $self->analysis_id);
while(length($name) < 27) { $name.=' ';}
if($mode == 1) {
# printf("%s(%d) %s %d:ms %d:cpu (%d:q %d:r %d:d %d:f %d:t) [%d/%d workers] (%d secs synched)\n",
#printf("%30s(%3d) %12s jobs(t:%d,q:%d,d:%d,f:%d) b:%d M:%d w:%d (%d secs old)\n",
printf("$name %11s %d:cpum job(%d/%d run:%d fail:%d %dms) worker[%d/%d] (sync %d)\n",
printf("%-27s(%2d) %11s %d:cpum job(%d/%d run:%d fail:%d %dms) worker[%d/%d] (sync'd %d sec ago)\n",
......@@ -314,7 +311,9 @@ sub print_stats {
} elsif ($mode == 2) {
printf("$name %11s [%d/%d workers] (%d secs synched)\n",
printf("%-27s(%2d) %11s [%d/%d workers] (sync'd %d sec ago)\n",
$self->num_required_workers, $self->hive_capacity,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment