#print >>f, '#set sublabels = %s' % ' '.join(configs)
print >>f, '#set sublabels = ste hte htd ocm occ ocs'
- for speed,freq in zip(['s', '6', '8', 'q'],['4GHz', '6GHz','8GHz', '10GHz']):
+ for speed,freq in zip(['s', 'm', 'f', 'q'],['4GHz', '6GHz','8GHz', '10GHz']):
print >>f, '"%s"' % freq,
for conf in configs:
name = '%s.%s.%s.%s.%s' % (conf, bench, dma, cache, speed)
if command == 'usertime':
import copy
- kernel = copy.copy(system.full_cpu.numCycles)
+ kernel = copy.copy(system.full0.numCycles)
kernel.bins = 'kernel'
- user = copy.copy(system.full_cpu.numCycles)
+ user = copy.copy(system.full0.numCycles)
user.bins = 'user'
if options.graph:
graphdata(runs, options, 'usertime', 'User Fraction',
- user / system.full_cpu.numCycles)
+ user / system.full0.numCycles)
else:
- printdata(runs, user / system.full_cpu.numCycles)
+ printdata(runs, user / system.full0.numCycles)
return
if command == 'ticks':
if options.binned:
print 'kernel ticks'
- system.full_cpu.numCycles.bins = 'kernel'
- printdata(runs, system.full_cpu.numCycles)
+ system.full0.numCycles.bins = 'kernel'
+ printdata(runs, system.full0.numCycles)
print 'idle ticks'
- system.full_cpu.numCycles.bins = 'idle'
- printdata(runs, system.full_cpu.numCycles)
+ system.full0.numCycles.bins = 'idle'
+ printdata(runs, system.full0.numCycles)
print 'user ticks'
- system.full_cpu.numCycles.bins = 'user'
- printdata(runs, system.full_cpu.numCycles)
+ system.full0.numCycles.bins = 'user'
+ printdata(runs, system.full0.numCycles)
print 'total ticks'
- system.full_cpu.numCycles.bins = None
- printdata(runs, system.full_cpu.numCycles)
+ system.full0.numCycles.bins = None
+ printdata(runs, system.full0.numCycles)
return
if command == 'packets':
- packets = system.tsunami.etherdev.rxPackets
+ packets = system.tsunami.etherdev0.rxPackets
if options.graph:
graphdata(runs, options, 'packets', 'Packets', packets)
else:
return
if command == 'ppt' or command == 'tpp':
- ppt = system.tsunami.etherdev.rxPackets / sim_ticks
+ ppt = system.tsunami.etherdev0.rxPackets / sim_ticks
printdata(runs, ppt, command == 'tpp')
return
if command == 'pps':
- pps = system.tsunami.etherdev.rxPackets / sim_seconds
+ pps = system.tsunami.etherdev0.rxPackets / sim_seconds
if options.graph:
graphdata(runs, options, 'pps', 'Packets/s', pps)
else:
return
if command == 'bpt' or command == 'tpb':
- bytes = system.tsunami.etherdev.rxBytes + system.tsunami.etherdev.txBytes
+ bytes = system.tsunami.etherdev0.rxBytes + system.tsunami.etherdev0.txBytes
bpt = bytes / sim_ticks * 8
if options.graph:
graphdata(runs, options, 'bpt', 'bps / Hz', bpt)
return
if command == 'bptb' or command == 'tpbb':
- bytes = system.tsunami.etherdev.rxBytes + system.tsunami.etherdev.txBytes
+ bytes = system.tsunami.etherdev0.rxBytes + system.tsunami.etherdev0.txBytes
print 'kernel stats'
bytes.bins = 'kernel'
return
if command == 'bytes':
- stat = system.tsunami.etherdev.rxBytes + system.tsunami.etherdev.txBytes
+ stat = system.tsunami.etherdev0.rxBytes + system.tsunami.etherdev0.txBytes
if options.binned:
print '%s kernel stats' % stat.name
return
if command == 'rxbps':
- gbps = system.tsunami.etherdev.rxBandwidth / 1e9
+ gbps = system.tsunami.etherdev0.rxBandwidth / 1e9
if options.graph:
graphdata(runs, options, 'rxbps', 'Bandwidth (Gbps)', gbps)
else:
return
if command == 'txbps':
- gbps = system.tsunami.etherdev.txBandwidth / 1e9
+ gbps = system.tsunami.etherdev0.txBandwidth / 1e9
if options.graph:
graphdata(runs, options, 'txbps', 'Bandwidth (Gbps)', gbps)
else:
return
if command == 'bps':
- rxbps = system.tsunami.etherdev.rxBandwidth
- txbps = system.tsunami.etherdev.txBandwidth
+ rxbps = system.tsunami.etherdev0.rxBandwidth
+ txbps = system.tsunami.etherdev0.txBandwidth
gbps = (rxbps + txbps) / 1e9
if options.graph:
graphdata(runs, options, 'bps', 'Bandwidth (Gbps)', gbps)
return
if command == 'misses':
- stat = system.L2.overall_mshr_misses
+ stat = system.l2.overall_mshr_misses
if options.binned:
print '%s kernel stats' % stat.name
stat.bins = 'kernel'
return
if command == 'mpkb':
- misses = system.L2.overall_mshr_misses
- rxbytes = system.tsunami.etherdev.rxBytes
- txbytes = system.tsunami.etherdev.txBytes
+ misses = system.l2.overall_mshr_misses
+ rxbytes = system.tsunami.etherdev0.rxBytes
+ txbytes = system.tsunami.etherdev0.txBytes
if options.binned:
print 'mpkb kernel stats'
return
if command == 'ipkb':
- interrupts = system.full_cpu.kern.faults[4]
- rxbytes = system.tsunami.etherdev.rxBytes
- txbytes = system.tsunami.etherdev.txBytes
+ interrupts = system.full0.kern.faults[4]
+ rxbytes = system.tsunami.etherdev0.rxBytes
+ txbytes = system.tsunami.etherdev0.txBytes
if options.binned:
print 'ipkb kernel stats'
return
if command == 'execute':
- printdata(runs, system.full_cpu.ISSUE__count)
+ printdata(runs, system.full0.ISSUE__count)
return
if command == 'commit':
- printdata(runs, system.full_cpu.COM__count)
+ printdata(runs, system.full0.COM__count)
return
if command == 'fetch':
- printdata(runs, system.full_cpu.FETCH__count)
+ printdata(runs, system.full0.FETCH__count)
return
if command == 'bpp':
- ed = system.tsunami.etherdev
+ ed = system.tsunami.etherdev0
bpp = (ed.rxBytes + ed.txBytes) / (ed.rxPackets + ed.txPackets)
if options.graph:
graphdata(runs, options, 'bpp', 'Bytes / Packet', bpp)
return
if command == 'rxbpp':
- bpp = system.tsunami.etherdev.rxBytes / system.tsunami.etherdev.rxPackets
+ bpp = system.tsunami.etherdev0.rxBytes / system.tsunami.etherdev0.rxPackets
if options.graph:
graphdata(runs, options, 'rxbpp', 'Receive Bytes / Packet', bpp)
else:
return
if command == 'txbpp':
- bpp = system.tsunami.etherdev.txBytes / system.tsunami.etherdev.txPackets
+ bpp = system.tsunami.etherdev0.txBytes / system.tsunami.etherdev0.txPackets
if options.graph:
graphdata(runs, options, 'txbpp', 'Transmit Bytes / Packet', bpp)
else:
return
if command == 'rtp':
- rtp = system.tsunami.etherdev.rxPackets / system.tsunami.etherdev.txPackets
+ rtp = system.tsunami.etherdev0.rxPackets / system.tsunami.etherdev0.txPackets
if options.graph:
graphdata(runs, options, 'rtp', 'rxPackets / txPackets', rtp)
else:
return
if command == 'rtb':
- rtb = system.tsunami.etherdev.rxBytes / system.tsunami.etherdev.txBytes
+ rtb = system.tsunami.etherdev0.rxBytes / system.tsunami.etherdev0.txBytes
if options.graph:
graphdata(runs, options, 'rtb', 'rxBytes / txBytes', rtb)
else: