VixenApplication.VixenApplication.StartJITProfiler C# (CSharp) Méthode

StartJITProfiler() private méthode

private StartJITProfiler ( ) : void
Résultat void
        private void StartJITProfiler()
        {
            try
            {
                string perfDataPath =
                    System.IO.Path.Combine(System.Environment.GetFolderPath(System.Environment.SpecialFolder.ApplicationData), "Vixen");
                if (!System.IO.Directory.Exists(perfDataPath))
                    System.IO.Directory.CreateDirectory(perfDataPath);

                ProfileOptimization.SetProfileRoot(perfDataPath);
                ProfileOptimization.StartProfile("~perfData.tmp");
            }
            catch (Exception e)
            {
                Logging.Warn("JIT Profiling Disabled", e);
            }
        }