Skip to content

Commit

Permalink
TEIIDDES-1461 - Added start and end timestamps to correct problem wit…
Browse files Browse the repository at this point in the history
…h elapsed time
  • Loading branch information
mdrillin committed Aug 15, 2012
1 parent e583565 commit 418129f
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ protected IStatus run(IProgressMonitor monitor)

try
{
_startTime = System.currentTimeMillis();
_stmt = prepareStatement(connection);

//try-catch block is used to catch exception considering some database (avaki) can't use this method.
Expand Down Expand Up @@ -214,6 +215,7 @@ protected IStatus run(IProgressMonitor monitor)
}
finally
{
_endTime = System.currentTimeMillis();
resultsViewAPI.saveElapseTime(_operationCommand, _endTime - _startTime);
//save the results and parameters.
resultsViewAPI.saveDetailResults(_operationCommand);
Expand Down

0 comments on commit 418129f

Please sign in to comment.