Class ProcessorUtil

java.lang.Object
com.pnfsoftware.jeb.core.units.codeobject.ProcessorUtil

public class ProcessorUtil extends Object
Utility routines for ProcessorType.
  • Method Details

    • toWellKnownUnitType

      public static String toWellKnownUnitType(ProcessorType proctype)
      Convert a processor type to a well-known unit type.
      Parameters:
      proctype - processor type
      Returns:
      well-known unit type, or null if none
    • fromArchName

      public static ProcessorType fromArchName(String arch)
      Convert an architecture name to a processor type.
      Parameters:
      arch - architecture name
      Returns:
      processor type