Fix elapsed time computation !

This commit is contained in:
agibert 2008-11-10 01:52:00 +00:00
parent 7bc0510954
commit 6c20aac629
2 changed files with 15 additions and 7 deletions

View File

@ -1,7 +1,7 @@
// $RCSfile: MQSSave.java,v $ // $RCSfile: MQSSave.java,v $
// $Revision: 1.14 $ // $Revision: 1.15 $
// $Name: $ // $Name: $
// $Date: 2008/01/03 13:46:01 $ // $Date: 2008/11/10 01:52:00 $
// $Author: agibert $ // $Author: agibert $
/* /*
@ -47,9 +47,9 @@ public class MQSSave
private boolean Trim_Mode = false; private boolean Trim_Mode = false;
private boolean MBTrailer_Mode = false; private boolean MBTrailer_Mode = false;
private int Total_Nb = 0, Moved_Nb = 0, Skiped_Nb = 0, Scaned_Nb = 0, Flushed_Nb = 0; private int Total_Nb = 0, Moved_Nb = 0, Skiped_Nb = 0, Scaned_Nb = 0, Flushed_Nb = 0;
private String MQSSave_Revision = "$Revision: 1.14 $"; private String MQSSave_Revision = "$Revision: 1.15 $";
private String MQSSave_Tag = "$Name: $"; private String MQSSave_Tag = "$Name: $";
private String MQSSave_Date = "$Date: 2008/01/03 13:46:01 $"; private String MQSSave_Date = "$Date: 2008/11/10 01:52:00 $";
private String MQSSave_Author = "$Author: agibert $"; private String MQSSave_Author = "$Author: agibert $";
private Integer Sleep_Time = 0; private Integer Sleep_Time = 0;
@ -884,7 +884,7 @@ public class MQSSave
Save_File( Output_File, Flush_File); Save_File( Output_File, Flush_File);
time_end = System.currentTimeMillis(); time_end = System.currentTimeMillis();
time_elapsed = ( time_end - time_begin) / 100.0; time_elapsed = ( time_end - time_begin) / 1000.0;
speed = Total_Nb / time_elapsed; speed = Total_Nb / time_elapsed;
nf.setMinimumFractionDigits(2); nf.setMinimumFractionDigits(2);

View File

@ -1,13 +1,21 @@
# $RCSfile: ReleaseNotes.txt,v $ # $RCSfile: ReleaseNotes.txt,v $
# $Revision: 1.11 $ # $Revision: 1.12 $
# $Name: $ # $Name: $
# $Date: 2008/01/03 13:46:01 $ # $Date: 2008/11/10 01:52:00 $
# $Author: agibert $ # $Author: agibert $
--------------------------------------------------------------------------------
MQSSave V 1.3.2 - A. Gibert - 2008/11/10
--------------------------------------------------------------------------------
Fix elapsed time computation !
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
MQSSave V 1.3.1 - A. Gibert - 2008/01/03 MQSSave V 1.3.1 - A. Gibert - 2008/01/03
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------