Ejemplo n.º 1
0
        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));
        }
Ejemplo n.º 2
0
        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;
        }