use of net.sourceforge.processdash.SimulationHarness in project processdash by dtuma.
the class TimeLoggingSimulation method run.
private void run(long seed) throws Exception {
random = new Random(seed);
print("Seed is " + seed);
dataDir = createAndPopulateDataDir();
harness = new SimulationHarness(dataDir);
ProcessDashboard dashboard = harness.getDashboard();
dashboard.removeWindowListener(dashboard);
dashboard.addWindowListener(this);
robot = new Robot();
user = new RandomUserActivityGenerator();
user.start();
userMeta = new RandomUserMetaActivityGenerator();
userMeta.start();
}
Aggregations