ASF Bugzilla – Attachment 19027 Details for
Bug 40791
Calculator used by Summary Report is inaccurate
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Calculator.java patch to take min and max of startTimes and endTimes into account
calculator.diff (text/plain), 769 bytes, created by
Rubén Laguna
on 2006-10-18 13:10:48 UTC
(
hide
)
Description:
Calculator.java patch to take min and max of startTimes and endTimes into account
Filename:
MIME Type:
Creator:
Rubén Laguna
Created:
2006-10-18 13:10:48 UTC
Size:
769 bytes
patch
obsolete
>Index: C:/javaopt/eclipse/eclipse_workspaces/jmeter_workspace/JMeter2_2/src/core/org/apache/jmeter/util/Calculator.java >=================================================================== >--- C:/javaopt/eclipse/eclipse_workspaces/jmeter_workspace/JMeter2_2/src/core/org/apache/jmeter/util/Calculator.java (revision 454855) >+++ C:/javaopt/eclipse/eclipse_workspaces/jmeter_workspace/JMeter2_2/src/core/org/apache/jmeter/util/Calculator.java (working copy) >@@ -105,7 +105,8 @@ > if (startTime == 0){ > startTime=res.getStartTime(); > } >- elapsedTime=res.getEndTime()-startTime; >+ startTime = Math.min(startTime, res.getStartTime()); >+ elapsedTime = Math.max(elapsedTime, res.getEndTime()-startTime); > } > >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 40791
: 19027