cpu: Allow setWhen on trace objects
Allow setting of 'when' in trace records. This allows later times than the arbitrary record creation point to be used as inst. times
This commit is contained in:
@@ -105,6 +105,8 @@ class InstRecord
|
||||
|
||||
virtual ~InstRecord() { }
|
||||
|
||||
void setWhen(Tick new_when) { when = new_when; }
|
||||
|
||||
void setAddr(Addr a) { addr = a; addr_valid = true; }
|
||||
|
||||
void setData(Twin64_t d) { data.as_int = d.a; data_status = DataInt64; }
|
||||
|
||||
Reference in New Issue
Block a user