From 6c20aac62978ca246342d1d34be8d61311d44ba5 Mon Sep 17 00:00:00 2001 From: agibert Date: Mon, 10 Nov 2008 01:52:00 +0000 Subject: [PATCH] Fix elapsed time computation ! --- MQSSave.java | 10 +++++----- ReleaseNotes.txt | 12 ++++++++++-- 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/MQSSave.java b/MQSSave.java index 51b6226..adcf7fb 100644 --- a/MQSSave.java +++ b/MQSSave.java @@ -1,7 +1,7 @@ // $RCSfile: MQSSave.java,v $ -// $Revision: 1.14 $ +// $Revision: 1.15 $ // $Name: $ -// $Date: 2008/01/03 13:46:01 $ +// $Date: 2008/11/10 01:52:00 $ // $Author: agibert $ /* @@ -47,9 +47,9 @@ public class MQSSave private boolean Trim_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 String MQSSave_Revision = "$Revision: 1.14 $"; + private String MQSSave_Revision = "$Revision: 1.15 $"; 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 Integer Sleep_Time = 0; @@ -884,7 +884,7 @@ public class MQSSave Save_File( Output_File, Flush_File); 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; nf.setMinimumFractionDigits(2); diff --git a/ReleaseNotes.txt b/ReleaseNotes.txt index 6aff45a..9a8fa31 100644 --- a/ReleaseNotes.txt +++ b/ReleaseNotes.txt @@ -1,13 +1,21 @@ # $RCSfile: ReleaseNotes.txt,v $ -# $Revision: 1.11 $ +# $Revision: 1.12 $ # $Name: $ -# $Date: 2008/01/03 13:46:01 $ +# $Date: 2008/11/10 01:52:00 $ # $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 --------------------------------------------------------------------------------