public class PerfTracer extends ContextTracer
context tracer
that maintains a number of timers for performance measurements.Modifier and Type | Field and Description |
---|---|
static long |
NOT_STARTED |
Constructor and Description |
---|
PerfTracer(OMTracer delegate,
Class<?> context) |
Modifier and Type | Method and Description |
---|---|
long |
getDuration(Object object) |
void |
start(Object object) |
long |
stop(Object object) |
format, format, getBundle, getContext, getDelegate, getFullName, getName, getParent, isEnabled, setEnabled, toString, trace, trace, trace
public static final long NOT_STARTED
Copyright (c) 2014 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