ChromeTracer

object ChromeTracer
Companion
class
class Object
trait Matchable
class Any

Type members

Classlikes

case class Event(name: String, cat: String, ph: String, ts: Long, pid: Long, tid: Long, args: String)

name: The name of the event, as displayed in Trace Viewer cat: The event categories. This is a comma separated list of categories for the event. The categories can be used to hide events in the Trace Viewer UI. ph: The event type. This is a single character which changes depending on the type of event being output. The valid values are listed in the table below. We will discuss each phase type below. ts: The tracing clock timestamp of the event. The timestamps are provided at microsecond granularity. tts: Optional. The thread clock timestamp of the event. The timestamps are provided at microsecond granularity. pid: The process ID for the process that output this event. tid: The thread ID for the thread that output this event. args: Any arguments provided for the event. Some of the event types have required argument fields, otherwise, you can put any information you wish in here. The arguments are displayed in Trace Viewer when you view an event in the analysis section.

name: The name of the event, as displayed in Trace Viewer cat: The event categories. This is a comma separated list of categories for the event. The categories can be used to hide events in the Trace Viewer UI. ph: The event type. This is a single character which changes depending on the type of event being output. The valid values are listed in the table below. We will discuss each phase type below. ts: The tracing clock timestamp of the event. The timestamps are provided at microsecond granularity. tts: Optional. The thread clock timestamp of the event. The timestamps are provided at microsecond granularity. pid: The process ID for the process that output this event. tid: The thread ID for the thread that output this event. args: Any arguments provided for the event. Some of the event types have required argument fields, otherwise, you can put any information you wish in here. The arguments are displayed in Trace Viewer when you view an event in the analysis section.

Value members

Concrete methods

def newTracer(fileName: String): ChromeTracer

Create a chrome tracing format tracer to save the data to the given file

Create a chrome tracing format tracer to save the data to the given file