Several fixes & changes:

* qtime and stime computed correctly
* Interactive mode and changing groups doesn't fail
* Interactive mode no longer uses a file to gather samples.
This commit is contained in:
Brian Fraser
2012-01-30 17:44:18 -03:00
parent ad552756b2
commit 73c1e466d7
12 changed files with 723 additions and 312 deletions

View File

@@ -73,8 +73,6 @@ sub group_by {
},
rows_callback => $args{rows_callback},
);
$self->{_iterations} = -1;
return;
}
}
@@ -93,11 +91,6 @@ sub group_by {
# where we started, so subsequent attempts (i.e. when
# the file has more data) have greater chances of succeeding,
# and no data goes unreported.
if ($self->{_iterations} != -1 && defined($original_offset)
&& eof($args{filehandle} || $args{data}) ) {
$self->clear_state;
seek( ($args{filehandle} || $args{data}), $original_offset, 0);
}
return $lines_read;
}