public class SpeedTracerLogger.Event extends Object
Modifier and Type | Field and Description |
---|---|
protected SpeedTracerLogger.EventType |
type |
Modifier and Type | Method and Description |
---|---|
void |
addData(String... data) |
void |
end(String... data)
Signals the end of the current event.
|
DevModeSession |
getDevModeSession() |
long |
getDurationNanos()
Returns the event duration, in nanoseconds, for the log file.
|
long |
getElapsedDurationNanos() |
long |
getElapsedStartTimeNanos() |
long |
getStartTimeNanos()
Returns the event start time, normalized in nanoseconds, for the log
file.
|
SpeedTracerLogger.EventType |
getType() |
String |
toString() |
protected final SpeedTracerLogger.EventType type
public void addData(String... data)
data
- key/value pairs to add to JSON object.public void end(String... data)
public DevModeSession getDevModeSession()
public long getDurationNanos()
public long getElapsedDurationNanos()
public long getElapsedStartTimeNanos()
public long getStartTimeNanos()
public SpeedTracerLogger.EventType getType()
Copyright © 2018. All rights reserved.