Enum ProfileAnalyzer.SortBy

  • All Implemented Interfaces:
    Serializable, Comparable<ProfileAnalyzer.SortBy>
    Enclosing class:
    ProfileAnalyzer

    public static enum ProfileAnalyzer.SortBy
    extends Enum<ProfileAnalyzer.SortBy>
    Only applicable for profile comparisons.
    PROFILE1_PC - sort by profile 1 percentage of total time
    PROFILE2_PC - sort by profile 2 percentage of total time
    RATIO - sort by highest ratio (mean op time profile 1 / mean op time profile 2)
    • Method Detail

      • values

        public static ProfileAnalyzer.SortBy[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ProfileAnalyzer.SortBy c : ProfileAnalyzer.SortBy.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ProfileAnalyzer.SortBy valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null