Methods Summary |
---|
public void | addExclusiveTime(long elapsed)
mMethodData.addElapsedExclusive(elapsed);
if ((mFlags & IS_RECURSIVE) == 0) {
mMethodData.addTopExclusive(elapsed);
}
|
public void | addInclusiveTime(long elapsed, com.android.traceview.Call parent)
boolean isRecursive = (mFlags & IS_RECURSIVE) != 0;
mMethodData.addElapsedInclusive(elapsed, isRecursive, parent);
|
public double | addWeight(int x, int y, double weight)
return mMethodData.addWeight(x, y, weight);
|
public void | clearWeight()
mMethodData.clearWeight();
|
public void | dump()
System.out.printf("%s [%d, %d]\n", mName, mGlobalStartTime, mGlobalEndTime);
|
public org.eclipse.swt.graphics.Color | getColor()
return mMethodData.getColor();
|
public long | getEndTime()
return mGlobalEndTime;
|
int | getMethodAction()
return mFlags & METHOD_ACTION_MASK;
|
public MethodData | getMethodData()
return mMethodData;
|
public java.lang.String | getName()
return mName;
|
public long | getStartTime()
return mGlobalStartTime;
|
int | getThreadId()
return mThreadId;
|
public boolean | isRecursive()
return (mFlags & IS_RECURSIVE) != 0;
|
public void | set(int threadId, MethodData methodData, long time, int methodAction)
mThreadId = threadId;
mMethodData = methodData;
mThreadStartTime = time;
mFlags = methodAction & METHOD_ACTION_MASK;
mName = methodData.getProfileName();
|
public void | setName(java.lang.String name)
mName = name;
|
public void | setRecursive(boolean isRecursive)
if (isRecursive) {
mFlags |= IS_RECURSIVE;
} else {
mFlags &= ~IS_RECURSIVE;
}
|
public void | updateName()
mName = mMethodData.getProfileName();
|