Enum RecordKind

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<RecordKind>

    public enum RecordKind
    extends java.lang.Enum<RecordKind>
    The RecordKind enumeration describes types or log records used in the Tracer log format.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      BUS
      Memory bus trace.
      EVENT
      Event trace.
      FLOW
      Program flow trace.
      INSTRUCT
      Instruction trace.
      MEMORY
      Processor memory access trace.
      REGISTER
      Register trace.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static RecordKind valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static RecordKind[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • INSTRUCT

        public static final RecordKind INSTRUCT
        Instruction trace.

        <time> <scale> <cpu> [IT|IS] (<inst_id>) <addr> <opcode> [A|T|X] <mode>_<security> : <disasm>

      • FLOW

        public static final RecordKind FLOW
        Program flow trace.

        <time> <scale> [FD|FI|FR] (<inst_id>) <addr> <targ_addr> [A|T|X]

      • REGISTER

        public static final RecordKind REGISTER
        Register trace.

        <time> <scale> R <register> <value>

      • EVENT

        public static final RecordKind EVENT
        Event trace.

        <time> <scale> E <value> <number> <desc>

      • MEMORY

        public static final RecordKind MEMORY
        Processor memory access trace.

        <time> <scale> M<rw><sz><attrib> <addr> <data>

      • BUS

        public static final RecordKind BUS
        Memory bus trace.

        <time> <scale> B<rw><sz><fd><lk><p><s> l<wrcbs> O<wrcbs> <master_id> <addr> <data>

    • Method Detail

      • values

        public static RecordKind[] 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 (RecordKind c : RecordKind.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static RecordKind valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null