TracingLogger
public
class
TracingLogger
extends Object
java.lang.Object
|
↳ |
com.android.tradefed.invoker.tracing.TracingLogger
|
Class that helps to manage tracing for each test invocation.
Summary
Public constructors
TracingLogger
public TracingLogger ()
Public methods
createActiveTrace
public static ActiveTrace createActiveTrace (long pid,
long tid,
boolean mainProcess)
Parameters |
pid |
long |
tid |
long |
mainProcess |
boolean |
createActiveTrace
public static ActiveTrace createActiveTrace (long pid,
long tid)
Creates and register an active trace for an invocation.
Parameters |
pid |
long : Current process id |
tid |
long : Current thread id |
finalizeTrace
public static File finalizeTrace ()
Finalize the tracing and clear the tracking.
getActiveTrace
public static ActiveTrace getActiveTrace ()
Returns the current active trace for the invocation, or null if none.
getActiveTraceForGroup
public static ActiveTrace getActiveTraceForGroup (ThreadGroup group)
Parameters |
group |
ThreadGroup |
getMainTrace
public static ActiveTrace getMainTrace ()
If it exists, returns the current trace of the Tradefed process itself.