blob: 55d68ab46a6a0c5781be39e2c0e568d69ec51c3e [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2004 IBM Corporation 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:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.ui.tests.rcp.util;
/**
* An empty array of meters, all calls are ignored.
*
* @since 3.1
*/
public class NullMeters implements IPerformanceMeterArray {
public NullMeters() {
// do nothing
}
public void start(int meterIndex) {
// do nothing
}
public void stop(int meterIndex) {
// do nothing
}
public void intervalBoundary(int completedIntervalIndex) {
// do nothing
}
public void commit() {
// do nothing
}
public void assertPerformance() {
// do nothing
}
public void dispose() {
// do nothing
}
}