Package org.eclipse.test.internal.performance.data

Examples of org.eclipse.test.internal.performance.data.DataPoint


                    Dim dim= dims[i];
                    fSQL.insertScalar(datapoint_id, dim.getId(), stats.getCount(dim));
                }
        } else {
        for (int i= 0; i < dataPoints.length; i++) {
            DataPoint dp= dataPoints[i];
                int datapoint_id= fSQL.createDataPoint(sample_id, i, dp.getStep());
            Scalar[] scalars= dp.getScalars();
             for (int j= 0; j < scalars.length; j++) {
                Scalar scalar= scalars[j];
                int dim_id= scalar.getDimension().getId();
                long value= scalar.getMagnitude();         
            fSQL.insertScalar(datapoint_id, dim_id, value);
View Full Code Here


                      if (dimSet == null || dimSet.contains(dim))
                          map.put(dim, new Scalar(dim, value));
                  }
            }
            if (map.size() > 0)
                dataPoints.add(new DataPoint(step, map));
           
              rs2.close();
          }            
          rs.close();
         
View Full Code Here

                    Dim dim= dims[i];
                    fSQL.insertScalar(datapoint_id, dim.getId(), stats.getCount(dim));
                }
        } else {
        for (int i= 0; i < dataPoints.length; i++) {
            DataPoint dp= dataPoints[i];
                int datapoint_id= fSQL.createDataPoint(sample_id, i, dp.getStep());
            Scalar[] scalars= dp.getScalars();
             for (int j= 0; j < scalars.length; j++) {
                Scalar scalar= scalars[j];
                int dim_id= scalar.getDimension().getId();
                long value= scalar.getMagnitude();
            fSQL.insertScalar(datapoint_id, dim_id, value);
View Full Code Here

                      if (dimSet == null || dimSet.contains(dim))
                          map.put(dim, new Scalar(dim, value));
                  }
            }
            if (map.size() > 0)
                dataPoints.add(new DataPoint(step, map));
           
              rs2.close();
          }
          rs.close();
         
View Full Code Here

          ps.print(SEPARATOR);
        }
        ps.println("scenario"); //$NON-NLS-1$
       
        for (int p= 0; p < dataPoints.length - 1; p+=2) {
          DataPoint before= dataPoints[p];
          DataPoint after= dataPoints[p + 1];
          for (int d= 0; d < dimensions.length; d++) {
            Dim dimension= dimensions[d];
            long valBefore= before.getScalar(dimension).getMagnitude();
            long valAfter= after.getScalar(dimension).getMagnitude();
            ps.print(valAfter - valBefore);
            ps.print(SEPARATOR);
          }
          ps.print(sample.getShortname() != null ? sample.getShortname() : sample.getScenarioID());
          ps.println();
View Full Code Here

TOP

Related Classes of org.eclipse.test.internal.performance.data.DataPoint

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.