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, trace, trace, trace
public static final long NOT_STARTED
Copyright (c) 2011-2014 Eike Stepper (Berlin, Germany) and others.