コード例 #1
0
        private void InitializeTrackers()
        {
            if (ViewerSettings.Instance.TrackOptimizerInfo)
            {
                OptimizerInfoTracker.PreExecute(_connection);
            }

            if (ViewerSettings.Instance.TrackTransformationStats)
            {
                TransformationStatsTracker.PreExecute(_connection);
            }
        }
コード例 #2
0
        private void FinalizeTrackers()
        {
            if (ViewerSettings.Instance.TrackOptimizerInfo)
            {
                OptimizerInfoTracker.PostExecute(_connection);
            }

            if (ViewerSettings.Instance.TrackTransformationStats)
            {
                TransformationStatsTracker.PostExecute(_connection);
            }

            _optimizerInfoTable = null;
            if (ViewerSettings.Instance.TrackOptimizerInfo)
            {
                _optimizerInfoTable = OptimizerInfoTracker.AnalyzeResults(_connection);
            }

            _transformationStatsTable = null;
            if (ViewerSettings.Instance.TrackTransformationStats)
            {
                _transformationStatsTable = TransformationStatsTracker.AnalyzeResults(_connection);
            }
        }