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: Long
)
android

Public properties

String

Display name of the Track in the trace.

android
Long

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

android
Int

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

android
Long

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

android
Int

One of TRACK_DESCRIPTOR_TYPE_THREAD, TRACK_DESCRIPTOR_TYPE_COUNTER, TRACK_DESCRIPTOR_TYPE_PROCESS

android
Long

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

android

Public constructors

TrackDescriptor

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

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 tidLong

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.