01: /*******************************************************************************
02: * Copyright (c) 2004, 2006 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.ui.tests.rcp.util;
11:
12: /**
13: * An array of performance meters that can be used for things like interval timing.
14: *
15: * @since 3.1
16: */
17: public interface IPerformanceMeterArray {
18:
19: /**
20: * Start the meter at the argument index.
21: */
22: public void start(int meterIndex);
23:
24: /**
25: * Stop the meter at the argument index.
26: */
27: public void stop(int meterIndex);
28:
29: /**
30: * Commit all meters in this array.
31: */
32: public void commit();
33:
34: /**
35: * Assert the performance of all meters in this array.
36: */
37: public void assertPerformance();
38:
39: /**
40: * Dispose all meters in this array.
41: */
42: public void dispose();
43: }
|