public CorrelationMatrixCalculator( ICycleProvider cycleProvider, ITermCountInTextsProvider termCountInTextsProvider, ITermOccurrenceCountProvider termOccurrenceCountProvider, IBinomialProvider binomialProvider) { _cycleProvider = cycleProvider; _termCountInTextsProvider = termCountInTextsProvider; _termOccurrenceCountProvider = termOccurrenceCountProvider; _binomialProvider = binomialProvider; }
public Cache(ICycleProvider cycleProvider, CacheGeometry geometry) { this.CycleProvider = cycleProvider; this.Geometry = geometry; this.Sets = new List<CacheSet> (); for (uint i = 0; i < this.NumSets; i++) { this.Sets.Add (new CacheSet (this, this.Associativity, i)); } this.Directory = new Directory (this.NumSets, this.Associativity); }
public CoherentCacheNode(ICycleProvider cycleProvider, string name) { this.CycleProvider = cycleProvider; this.Name = name; this.EventQueue = new ActionEventQueue (); this.CycleProvider.EventProcessors.Add (this.EventQueue); }
public CoherentCache(ICycleProvider cycleProvider, CacheConfig config, CacheStat stat) : base(cycleProvider, config.Name) { this.Config = config; this.Stat = stat; this.Cache = new Cache (cycleProvider, config.Geometry); this.Random = new Random (); }
public TranslationLookasideBuffer(ICycleProvider cycleProvider, TlbConfig config, TlbStat stat) { this.CycleProvider = cycleProvider; this.Config = config; this.Stat = stat; this.Cache = new Cache (cycleProvider, config.Geometry); this.EventQueue = new ActionEventQueue (); this.CycleProvider.EventProcessors.Add (this.EventQueue); }
public MemoryController(ICycleProvider cycleProvider, MainMemoryConfig config, MainMemoryStat stat) : base(cycleProvider, "mem") { this.Config = config; this.Stat = stat; }