util: Add missing parameter for print_insts
JIRA: https://gem5.atlassian.net/browse/GEM5-949 Change-Id: I74fe7adc06124d193f17d682882766484ac18528 Signed-off-by: Hoa Nguyen <hoanguyen@ucdavis.edu> Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/44448 Reviewed-by: Gabe Black <gabe.black@gmail.com> Maintainer: Gabe Black <gabe.black@gmail.com> Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
@@ -129,7 +129,8 @@ def process_trace(trace, outfile, cycle_time, width, color, timestamps,
|
||||
if fields[1] == 'fetch':
|
||||
if ((stop_tick > 0 and int(fields[2]) > stop_tick+insts['tick_drift']) or
|
||||
(stop_sn > 0 and int(fields[5]) > (stop_sn+insts['max_threshold']))):
|
||||
print_insts(outfile, cycle_time, width, color, timestamps, 0)
|
||||
print_insts(outfile, cycle_time, width, color, timestamps,
|
||||
store_completions, 0)
|
||||
return
|
||||
(curr_inst['pc'], curr_inst['upc']) = fields[3:5]
|
||||
curr_inst['sn'] = int(fields[5])
|
||||
|
||||
Reference in New Issue
Block a user