public string ComputeDistribution() { IRollupParameters rollupParameters = itparms.RollupParameters; string savedCommand = rollupParameters.RollupCommand; int savedIntervals = rollupParameters.RollupTimeIntervals; rollupParameters.RollupTimeIntervals = standardPlotColumns; rollupParameters.RollupCommand = ">/$R */$T"; RollupResults r = ComputeRollupRaw(); rollupParameters.RollupTimeIntervals = savedIntervals; rollupParameters.RollupCommand = savedCommand; return(PlotRollup(standardPlotRows, standardPlotColumns, r)); }
public TraceParameters(ETLTrace t) { eventfilter = new AtomFilter(t.RecordAtoms); stackfilter = new AtomFilter(t.RecordAtoms); processfilter = new IndexFilter(t.Processes.Count); threadfilter = new IndexFilter(t.Threads.Count); stackParameters = new StackParameters(); rollupParameters = new RollupParameters(); contextSwitchParameters = new ContextSwitchParameters(); contextSwitchParameters.TopThreadCount = t.Threads.Count; FilterText = ""; MemoryFilters = ""; T0 = 0; T1 = t.TMax; RollupTimeIntervals = 20; }