TraceLine

public class TraceLine
extends Object

java.lang.Object
   ↳ com.android.tradefed.profiler.recorder.TraceLine


A representation of an output line from /d/tracing/trace.

Summary

Constants

String TAG_CORE_NUM

String TAG_FUNCTION

String TAG_HARD_IRQ

String TAG_IRQS_OFF

String TAG_NEED_RESCHED

String TAG_PREEMPT_DELAY

String TAG_TASK

String TAG_TIMESTAMP

Public constructors

TraceLine()

Public methods

int getCoreNum()
String getFunctionName()
Map<String, Long> getFunctionParams()
boolean getHardIrq()
boolean getIrqsOff()
boolean getNeedsResched()
int getPreemptDelay()
String getTaskName()
double getTimestamp()
void setCoreNum(int coreNum)
void setFunctionName(String functionName)
void setFunctionParams(Map<String, Long> functionParams)
void setHardIrq(boolean hardIrq)
void setIrqsOff(boolean irqsOff)
void setNeedsResched(boolean needsResched)
void setPreemptDelay(int preemptDelay)
void setTaskName(String taskName)
void setTimestamp(double timestamp)

Constants

TAG_CORE_NUM

String TAG_CORE_NUM

Constant Value: "CPU#"

TAG_FUNCTION

String TAG_FUNCTION

Constant Value: "FUNCTION"

TAG_HARD_IRQ

String TAG_HARD_IRQ

Constant Value: "HARDIRQ"

TAG_IRQS_OFF

String TAG_IRQS_OFF

Constant Value: "IRQS-OFF"

TAG_NEED_RESCHED

String TAG_NEED_RESCHED

Constant Value: "NEED-RESCHED"

TAG_PREEMPT_DELAY

String TAG_PREEMPT_DELAY

Constant Value: "PREEMPT-DELAY"

TAG_TASK

String TAG_TASK

Constant Value: "TASK"

TAG_TIMESTAMP

String TAG_TIMESTAMP

Constant Value: "TIMESTAMP"

Public constructors

TraceLine

TraceLine ()

Public methods

getCoreNum

int getCoreNum ()

Returns
int

getFunctionName

String getFunctionName ()

Returns
String

getFunctionParams

Map<String, Long> getFunctionParams ()

Returns
Map<String, Long>

getHardIrq

boolean getHardIrq ()

Returns
boolean

getIrqsOff

boolean getIrqsOff ()

Returns
boolean

getNeedsResched

boolean getNeedsResched ()

Returns
boolean

getPreemptDelay

int getPreemptDelay ()

Returns
int

getTaskName

String getTaskName ()

Returns
String

getTimestamp

double getTimestamp ()

Returns
double

setCoreNum

void setCoreNum (int coreNum)

Parameters
coreNum int

setFunctionName

void setFunctionName (String functionName)

Parameters
functionName String

setFunctionParams

void setFunctionParams (Map<String, Long> functionParams)

Parameters
functionParams Map

setHardIrq

void setHardIrq (boolean hardIrq)

Parameters
hardIrq boolean

setIrqsOff

void setIrqsOff (boolean irqsOff)

Parameters
irqsOff boolean

setNeedsResched

void setNeedsResched (boolean needsResched)

Parameters
needsResched boolean

setPreemptDelay

void setPreemptDelay (int preemptDelay)

Parameters
preemptDelay int

setTaskName

void setTaskName (String taskName)

Parameters
taskName String

setTimestamp

void setTimestamp (double timestamp)

Parameters
timestamp double