Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/performance/framework/ProbeCollector.java')
-rw-r--r--plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/performance/framework/ProbeCollector.java146
1 files changed, 73 insertions, 73 deletions
diff --git a/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/performance/framework/ProbeCollector.java b/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/performance/framework/ProbeCollector.java
index 3a5640e665..75d2c1f923 100644
--- a/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/performance/framework/ProbeCollector.java
+++ b/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/performance/framework/ProbeCollector.java
@@ -1,73 +1,73 @@
-/*
- * Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Stefan Winkler - initial API and implementation
- */
-package org.eclipse.emf.cdo.tests.performance.framework;
-
-import org.eclipse.emf.cdo.tests.config.IScenario;
-
-import java.util.ArrayList;
-import java.util.List;
-
-/**
- * @author Stefan Winkler
- */
-public class ProbeCollector
-{
- private final List<PerformanceRecord> performanceRecords = new ArrayList<PerformanceRecord>();
-
- protected PerformanceRecord createPerformanceRecord(IScenario scenario, String testName, String testCaseName, int runs)
- {
- PerformanceRecord performanceRecord = new PerformanceRecord(scenario, testName, testCaseName, runs);
- performanceRecords.add(performanceRecord);
- return performanceRecord;
- }
-
- /**
- * @author Eike Stepper
- */
- public static class PerformanceRecord
- {
- private final IScenario scenario;
-
- private final String testName;
-
- private final String testCaseName;
-
- private final long[] probes;
-
- public PerformanceRecord(IScenario scenario, String testName, String testCaseName, int runs)
- {
- this.scenario = scenario;
- this.testName = testName;
- this.testCaseName = testCaseName;
- probes = new long[runs];
- }
-
- public IScenario getScenario()
- {
- return scenario;
- }
-
- public String getTestName()
- {
- return testName;
- }
-
- public String getTestCaseName()
- {
- return testCaseName;
- }
-
- public long[] getProbes()
- {
- return probes;
- }
- }
-}
+/*
+ * Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Stefan Winkler - initial API and implementation
+ */
+package org.eclipse.emf.cdo.tests.performance.framework;
+
+import org.eclipse.emf.cdo.tests.config.IScenario;
+
+import java.util.ArrayList;
+import java.util.List;
+
+/**
+ * @author Stefan Winkler
+ */
+public class ProbeCollector
+{
+ private final List<PerformanceRecord> performanceRecords = new ArrayList<PerformanceRecord>();
+
+ protected PerformanceRecord createPerformanceRecord(IScenario scenario, String testName, String testCaseName, int runs)
+ {
+ PerformanceRecord performanceRecord = new PerformanceRecord(scenario, testName, testCaseName, runs);
+ performanceRecords.add(performanceRecord);
+ return performanceRecord;
+ }
+
+ /**
+ * @author Eike Stepper
+ */
+ public static class PerformanceRecord
+ {
+ private final IScenario scenario;
+
+ private final String testName;
+
+ private final String testCaseName;
+
+ private final long[] probes;
+
+ public PerformanceRecord(IScenario scenario, String testName, String testCaseName, int runs)
+ {
+ this.scenario = scenario;
+ this.testName = testName;
+ this.testCaseName = testCaseName;
+ probes = new long[runs];
+ }
+
+ public IScenario getScenario()
+ {
+ return scenario;
+ }
+
+ public String getTestName()
+ {
+ return testName;
+ }
+
+ public String getTestCaseName()
+ {
+ return testCaseName;
+ }
+
+ public long[] getProbes()
+ {
+ return probes;
+ }
+ }
+}

Back to the top