Lines Matching refs:dim_id

64 	for (int dim_id=0; dim_id<length; dim_id++) {
65 int vLength = this.values[dim_id].length;
67 if (dim_id == 0) {
68 IStatus status = new Status(IStatus.WARNING, PerformanceTestPlugin.PLUGIN_ID, "Clean "+vLength+" values for "+this.parent+">"+this.name+" ("+this.count[dim_id]+" measures)..."); //$NON-NLS-1$//$NON-NLS-2$//$NON-NLS-3$//$NON-NLS-4$ //$NON-NLS-5$
72 this.average[dim_id] = 0;
74 this.average[dim_id] += this.values[dim_id][i];
76 this.average[dim_id] /= vLength;
79 double deviation= this.average[dim_id] - this.values[dim_id][i];
82 this.stddev[dim_id] = Math.sqrt(squaredDeviations / (this.count[dim_id] - 1)); // unbiased sample stdev
83 this.values[dim_id] = null;
142 * @param dim_id The id of the dimension (see {@link Dim#getId()})
146 public long getCount(int dim_id) {
147 return this.count[getDimIndex(dim_id)];
203 * @param dim_id The id of the dimension (see {@link Dim#getId()})
206 public double getDeviation(int dim_id) {
207 final int dimIndex = getDimIndex(dim_id);
243 int getDimIndex(int dim_id) {
248 if (this.dimensions[i].getId() == dim_id) {
269 * @param dim_id The id of the dimension (see {@link Dim#getId()})
272 public double getError(int dim_id) {
273 long n = getCount(dim_id);
275 return getDeviation(dim_id) / Math.sqrt(n);
292 * @param dim_id The id of the dimension (see {@link Dim#getId()})
295 public double getValue(int dim_id) {
296 int idx = getDimIndex(dim_id);
458 void setValue(int dim_id, int step, long value) {
460 Dim dimension = (Dim) PerformanceTestPlugin.getDimension(dim_id);
482 if (this.dimensions[i].getId() == dim_id) {