public static class Gem5Wrapper.SortByCommandTime extends java.lang.Object implements java.util.Comparator<RecordToken>, java.io.Serializable
Constructor and Description |
---|
SortByCommandTime() |
Modifier and Type | Method and Description |
---|---|
int |
compare(RecordToken t1,
RecordToken t2)
Return the difference between time 1 and time2.
|
public int compare(RecordToken t1, RecordToken t2)
compare
in interface java.util.Comparator<RecordToken>
t1
- The record token containing the first time.t2
- The record token containing the first time.