Package simulation

Examples of simulation.Stats


    evictMax = evictSize;
    fetchQueue = new TreeSet<DataBlockInfo>(DataScoreFunction.FORWARD);
    evictionQueue = new TreeSet<DataBlockInfo> (DataScoreFunction.BACKWARD);
    pendingRequests = new TreeMap<Long, TreeSet<Long>>();
    cache = new HashMap<DataBlockInfo, DataBlock>();
    stats = new Stats();


  }
View Full Code Here


  public LRUTopSim(Simulation sim, int nentries, int seqThreshold, int prefetchWindow) {
    this.sim = sim;
    this.seqThreshold = seqThreshold;
    this.prefetchWindow = prefetchWindow;
    lruCache = new LRUCache(nentries);
    stats = new Stats();
    requests = new TreeMap<Long,NFSReadEvent>();
  }
View Full Code Here

TOP

Related Classes of simulation.Stats

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.