changeset 922:72ca77dfb5c6

results: print result error in toString().
author shade
date Tue, 22 Jul 2014 12:58:15 +0400
parents 92ebbc95d6c8
children b589db471b8b
files jmh-core/src/main/java/org/openjdk/jmh/results/Result.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/jmh-core/src/main/java/org/openjdk/jmh/results/Result.java	Tue Jul 22 12:47:42 2014 +0400
+++ b/jmh-core/src/main/java/org/openjdk/jmh/results/Result.java	Tue Jul 22 12:58:15 2014 +0400
@@ -176,7 +176,7 @@
      */
     @Override
     public String toString() {
-        return String.format("%.3f %s", getScore(), getScoreUnit());
+        return String.format("%.3f \u00B1(99.9%%) %.3f %s", getScore(), getScoreError(), getScoreUnit());
     }
 
     /**