Package ru.ispras.microtesk.model.tracer
Enum RecordKind
- java.lang.Object
-
- java.lang.Enum<RecordKind>
-
- ru.ispras.microtesk.model.tracer.RecordKind
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<RecordKind>
public enum RecordKind extends java.lang.Enum<RecordKind>
TheRecordKind
enumeration describes types or log records used in the Tracer log format.
-
-
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.
-
-
-
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 namejava.lang.NullPointerException
- if the argument is null
-
-