Fix elapsed time computation !

This commit is contained in:
agibert 2008-11-10 01:50:19 +00:00
parent 99d17a844e
commit 67b4a7aa8b
2 changed files with 15 additions and 7 deletions

View File

@ -1,7 +1,7 @@
// $RCSfile: MQSLoad.java,v $ // $RCSfile: MQSLoad.java,v $
// $Revision: 1.11 $ // $Revision: 1.12 $
// $Name: $ // $Name: $
// $Date: 2008/01/03 13:45:42 $ // $Date: 2008/11/10 01:50:19 $
// $Author: agibert $ // $Author: agibert $
/* /*
@ -45,9 +45,9 @@ public class MQSLoad
private String Message_Break = "\r\n"; private String Message_Break = "\r\n";
private String Message_Tail = ""; private String Message_Tail = "";
private boolean Keep_Message_Break = false; private boolean Keep_Message_Break = false;
private String MQSLoad_Revision = "$Revision: 1.11 $"; private String MQSLoad_Revision = "$Revision: 1.12 $";
private String MQSLoad_Tag = "$Name: $"; private String MQSLoad_Tag = "$Name: $";
private String MQSLoad_Date = "$Date: 2008/01/03 13:45:42 $"; private String MQSLoad_Date = "$Date: 2008/11/10 01:50:19 $";
private String MQSLoad_Author = "$Author: agibert $"; private String MQSLoad_Author = "$Author: agibert $";
private Integer Sleep_Time = 0; private Integer Sleep_Time = 0;
@ -623,7 +623,7 @@ public class MQSLoad
msg_nb = Load_File( input_file); msg_nb = Load_File( input_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 = msg_nb / time_elapsed; speed = msg_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.9 $ # $Revision: 1.10 $
# $Name: $ # $Name: $
# $Date: 2008/01/03 13:45:42 $ # $Date: 2008/11/10 01:50:19 $
# $Author: agibert $ # $Author: agibert $
--------------------------------------------------------------------------------
MQSLoad V 1.3.2 - A. Gibert - 2008/11/10
--------------------------------------------------------------------------------
Fix elapsed time computation !
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
MQSLoad V 1.3.1 - A. Gibert - 2008/01/03 MQSLoad V 1.3.1 - A. Gibert - 2008/01/03
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------