TrackDescriptor



Low level representation of a Track, written once to the Trace.

Summary

Public constructors

TrackDescriptor(
    name: String,
    uuid: Long,
    parentUuid: Long,
    type: Int,
    pid: Int,
    tid: Int
)
Cmn

Public properties

String

Display name of the Track in the trace.

Cmn
Long

If set, this Track will be nested inside of the parent track (for example, when a ThreadTrack is a child of a ProcessTrack).

Cmn
Int

If type == TRACK_DESCRIPTOR_TYPE_PROCESS, represents the PID of the process.

Cmn
Int

If type == TRACK_DESCRIPTOR_TYPE_THREAD, represents the TID of the thread.

Cmn
Int

One of TRACK_DESCRIPTOR_TYPE_THREAD, TRACK_DESCRIPTOR_TYPE_COUNTER, TRACK_DESCRIPTOR_TYPE_PROCESS

Cmn
Long

Unique ID of the Track - each corresponding TraceEvent in the trace will set TraceEvent.trackUuid to this value.

Cmn

Public constructors

TrackDescriptor

TrackDescriptor(
    name: String,
    uuid: Long,
    parentUuid: Long,
    type: Int,
    pid: Int,
    tid: Int
)

Public properties

name

var nameString

Display name of the Track in the trace.

parentUuid

var parentUuidLong

If set, this Track will be nested inside of the parent track (for example, when a ThreadTrack is a child of a ProcessTrack).

pid

var pidInt

If type == TRACK_DESCRIPTOR_TYPE_PROCESS, represents the PID of the process.

tid

var tidInt

If type == TRACK_DESCRIPTOR_TYPE_THREAD, represents the TID of the thread.

uuid

var uuidLong

Unique ID of the Track - each corresponding TraceEvent in the trace will set TraceEvent.trackUuid to this value.