Interface ILineProfilingResult


  • public interface ILineProfilingResult
    Object with line profiling result:
    • ID of module that line was called from
    • Line number
    • Amount of line calls
    • Pure and full time of line calls
    • Pure and full percentage of work time with reference to overall time of work
    • Type of server call
    • Module name
    • The name of function this line belongs to
    • Project
    • Line source code
    • Method Detail

      • getModuleID

        BSLModuleIdInternal getModuleID()
        Gets module ID.
        Returns:
        ID of module containing this line. Never null.
      • getDebugTargetType

        DebugTargetType getDebugTargetType()
        Gets debug target type.
        Returns:
        Debug target type. Never null.
      • getLineNo

        int getLineNo()
        Gets line number.
        Returns:
        Line number. Always greater than 0.
      • getFrequency

        long getFrequency()
        Gets amount of calls of this line.
        Returns:
        Amount of calls. Always greater than 0.
      • getDurability

        long getDurability()
        Gets time of overall execution of this line.
        Returns:
        Time of execution of this line.
      • getPureDurability

        long getPureDurability()
        Gets pure time of overall execution of this line.
        Returns:
        Pure time of execution of this line.
      • getServerCallSignal

        ServerCallSignal getServerCallSignal()
        Gets server call signal associated with this line.
        Returns:
        Server call signal. Never null.
      • getPercentage

        double getPercentage()
        Gets this line's part of execution time (with reference to overall time of program execution).
        Returns:
        Percents of execution time (with reference to overall time of program execution). Always greater than 0.
      • getPurePercentage

        double getPurePercentage()
        Gets this line's pure part of execution time (with reference to overall time of program execution).
        Returns:
        Pure percents of execution time (with reference to overall time of program execution). Always greater than 0.
      • getLine

        String getLine()
        Gets the content of line associated with this result.
        Returns:
        Source code contained in line or dummy string if not set yet.
      • getModuleName

        String getModuleName()
        Gets the name of module that contains the line associated with this result.
        Returns:
        Module name or dummy string if not set yet.
      • getMethodSignature

        String getMethodSignature()
        Gets the signature of method containing the line associated with this module.
        Returns:
        The signature of method containing the line associated with this result or dummy string if not set yet.
      • getProject

        org.eclipse.core.resources.IProject getProject()
        Gets project associated with module containing the line associated with this result.
        Returns:
        Project associated with module containing the line associated with this result or null if not set yet.
      • getOwnerClass

        org.eclipse.emf.ecore.EClass getOwnerClass()
        Gets the class of the owner of module containing the line associated with this result.
        Returns:
        The class of the owner or null if not set yet.