Enum Class TraceSchedule.TimeRadix

java.lang.Object
java.lang.Enum<TraceSchedule.TimeRadix>
ghidra.trace.model.time.schedule.TraceSchedule.TimeRadix
All Implemented Interfaces:
Serializable, Comparable<TraceSchedule.TimeRadix>, Constable
Enclosing class:
TraceSchedule

public static enum TraceSchedule.TimeRadix extends Enum<TraceSchedule.TimeRadix>
Format for rendering and parsing snaps and step counts
  • Enum Constant Details

  • Field Details

    • DEFAULT

      public static final TraceSchedule.TimeRadix DEFAULT
      The default radix (decimal)
    • name

      public final String name
    • n

      public final int n
    • fmt

      public final String fmt
  • Method Details

    • values

      public static TraceSchedule.TimeRadix[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static TraceSchedule.TimeRadix valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • fromStr

      public static TraceSchedule.TimeRadix fromStr(String s)
      Get the radix specified by the given string
      Parameters:
      s - the name of the specified radix
      Returns:
      the radix
    • format

      public String format(long time)
    • decode

      public long decode(String nm)