Package client

Examples of client.Trace


    sim.setCacheSimInterface(lruTop);
    DiskSimNative diskSim = new DiskSimNative(sim,"disk_model/simple_array.parv","/tmp/simple_array.out");
    sim.setDiskSim(diskSim);
    FilesystemModel filesystemModel = new FilesystemModel(sim,50,4,17782768);
    sim.setFilesystemModel(filesystemModel);
    Trace trace;
    try {
      trace = new Trace("/Users/steve/os/nfs_traces/1_1b.txt");
    } catch (IOException e) {
      e.printStackTrace();
      return;
    }
    trace.bulkImport(sim);
    System.out.println("registered events: " + simDriver.nevents());
   
    simDriver.run();
    diskSim.endSimulation(simDriver.getCurrentTime());
    lruTop.getStats().print();
View Full Code Here


    sim.setCacheSimInterface(lruTop);
    DiskSimNative diskSim = new DiskSimNative(sim,"disk_model/cheetah9LP.parv","/tmp/TestDiskSimNative.out");
    sim.setDiskSim(diskSim);
    FilesystemModel filesystemModel = new FilesystemModel(sim,1,4,10000);
    sim.setFilesystemModel(filesystemModel);
    Trace trace = new Trace("/Users/steve/os/nfs_traces/test11.txt");
    trace.bulkImport(sim);
    System.out.println("registered events: " + simDriver.nevents());
   
    simDriver.run();
    diskSim.endSimulation(simDriver.getCurrentTime());
    lruTop.getStats().print();
View Full Code Here

TOP

Related Classes of client.Trace

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.