File indexing completed on 2024-04-06 12:08:42
0001
0002
0003
0004 import sys
0005
0006 input_offline=open('DeadROC_offline.txt','r')
0007 input_diff = open('DeadROC_Diff.txt','r')
0008
0009 output = open('MaskedROC_sum.txt','w')
0010
0011
0012 offline =[]
0013 diff = []
0014
0015
0016 for line in input_offline:
0017
0018 offline.append(str(line.strip())+' power\n')
0019
0020
0021 for line in input_diff:
0022
0023 diff.append(str(line.strip())+' tbmdelay\n')
0024
0025
0026 full_list = offline + diff
0027
0028 for i in range(len(full_list)):
0029 output.write(full_list[i])
0030
0031
0032 output.close()