All Superinterfaces:
Comparable<ISegment>, IHTInterval, INamedSegment, ISegment, ISerializableObject, Serializable

public interface ICalledFunction extends INamedSegment
CalledFunction Interface
Author:
Matthew Khouzam, Sonia Farrah
  • 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