Interface ICalledFunction
- All Superinterfaces:
Comparable<ISegment>
,IHTInterval
,INamedSegment
,ISegment
,ISerializableObject
,Serializable
CalledFunction Interface
- Author:
- Matthew Khouzam, Sonia Farrah
-
Method Summary
Modifier and TypeMethodDescriptionlong
The segment's time on CPU@Nullable ICalledFunction
The segment's parentint
The process ID of the traced applicationlong
The segment's self TimeThe symbol of the call stack function.int
The ID of the thread that was running this function.Methods inherited from interface org.eclipse.tracecompass.datastore.core.interval.IHTInterval
getEnd, getStart, intersects
Methods inherited from interface org.eclipse.tracecompass.segmentstore.core.segment.interfaces.INamedSegment
getName
Methods inherited from interface org.eclipse.tracecompass.segmentstore.core.ISegment
compareTo, getLength, getSizeOnDisk, writeSegment
-
Method Details
-
getSymbol
Object getSymbol()The symbol of the call stack function.- Returns:
- The symbol of the called function
-
getParent
@Nullable ICalledFunction getParent()The segment's parent- Returns:
- The parent, can be null
-
getSelfTime
long getSelfTime()The segment's self Time- Returns:
- The self time, should always be less than or equal to
ISegment.getLength()
-
getCpuTime
long getCpuTime()The segment's time on CPU- Returns:
- The CPU time, ie the time spent on the CPU by the thread who
called this function.
IHostModel.TIME_UNKNOWN
if not available.
-
getProcessId
int getProcessId()The process ID of the traced application- Returns:
- The process ID
-
getThreadId
int getThreadId()The ID of the thread that was running this function. A negative value means an unknows thread ID.- Returns:
- The thread ID, a negative value means it is not known
-