Ejemplo n.º 1
0
        private void UpdateMainCharts()
        {
            if (!_doUpdateCharts)
            {
                return;
            }

            var subset = GetFrametimesSubset();

            if (subset != null)
            {
                Task.Factory.StartNew(() =>
                {
                    FrametimeGraphDataContext
                    .SetFrametimeChart(_localRecordDataServer?
                                       .GetFrametimePointTimeWindow());
                    SetFrametimeChartYAxisSetting(
                        GetYAxisSettingFromSelection(SelecetedChartYAxisSetting));
                });

                Task.Factory.StartNew(() => SetStaticChart(subset));
                Task.Factory.StartNew(() => SetStutteringChart(subset));
                Task.Factory.StartNew(() => SetFpsThresholdChart(subset));
            }
        }