Commit a9459e43 authored by Hejing Li's avatar Hejing Li
Browse files

netperf.py: add qemu timing

parent 5f2549b6
......@@ -2,7 +2,7 @@ import modes.experiments as exp
import modes.simulators as sim
import modes.nodeconfig as node
host_types = ['qemu', 'gem5']
host_types = ['qemu', 'gem5', 'qt']
nic_types = ['i40e', 'cd_bm', 'cd_verilator']
net_types = ['switch', 'ns3']
experiments = []
......@@ -24,8 +24,15 @@ for host_type in host_types:
# host
if host_type == 'qemu':
host_class = sim.QemuHost
elif host_type == 'qt':
def qemu_timing():
h = sim.QemuHost()
h.sync = True
return h
host_class = qemu_timing
elif host_type == 'gem5':
host_class = sim.Gem5Host
e.checkpoint = True
else:
raise NameError(host_type)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment