Lines Matching refs:packet
95 # Import the packet proto definitions. If they are not found, attempt
133 print "Parsing packet header"
135 # Add the packet header
154 packet = inst_dep_record_pb2.InstDepRecord()
156 # Decode the packet messages until we hit the end of the file
157 while protolib.decodeMessage(proto_in, packet):
161 ascii_out.write('%s' % (packet.seq_num))
163 if packet.HasField('pc'):
164 ascii_out.write(',%s' % (packet.pc))
168 if packet.HasField('weight'):
169 ascii_out.write(',%s' % (packet.weight))
174 ascii_out.write(',%s' % enumNames[packet.type])
176 print "Seq. num", packet.seq_num, "has unsupported type", \
177 packet.type
183 if packet.HasField('p_addr'):
184 ascii_out.write(',%s' % (packet.p_addr))
185 if packet.HasField('size'):
186 ascii_out.write(',%s' % (packet.size))
187 if packet.HasField('flags'):
188 ascii_out.write(',%s' % (packet.flags))
191 ascii_out.write(',%s' % (packet.comp_delay))
195 if packet.rob_dep:
197 for dep in packet.rob_dep:
201 if packet.reg_dep:
203 for dep in packet.reg_dep: