From 6d7497f3f0c08461f520628d8f934200e8d4e051 Mon Sep 17 00:00:00 2001 From: Siegfried Pammer Date: Sun, 5 Sep 2010 17:38:05 +0200 Subject: [PATCH] set TrackEvents to false per default --- src/AddIns/Analysis/Profiler/Controller/ProfilerOptions.cs | 2 +- .../Profiler/Frontend/AddIn/Src/OptionPanels/OptionWrapper.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/AddIns/Analysis/Profiler/Controller/ProfilerOptions.cs b/src/AddIns/Analysis/Profiler/Controller/ProfilerOptions.cs index 59aa33534f..a02a9ee68c 100644 --- a/src/AddIns/Analysis/Profiler/Controller/ProfilerOptions.cs +++ b/src/AddIns/Analysis/Profiler/Controller/ProfilerOptions.cs @@ -106,7 +106,7 @@ namespace ICSharpCode.Profiler.Controller /// Creates default ProfilerOptions. /// public ProfilerOptions() - : this(true, DefaultSharedMemorySize, false, false, true, true, DefaultCounters) + : this(true, DefaultSharedMemorySize, false, false, true, false, DefaultCounters) { } } diff --git a/src/AddIns/Analysis/Profiler/Frontend/AddIn/Src/OptionPanels/OptionWrapper.cs b/src/AddIns/Analysis/Profiler/Frontend/AddIn/Src/OptionPanels/OptionWrapper.cs index ecce3fcfbf..fa8feb2fbe 100644 --- a/src/AddIns/Analysis/Profiler/Frontend/AddIn/Src/OptionPanels/OptionWrapper.cs +++ b/src/AddIns/Analysis/Profiler/Frontend/AddIn/Src/OptionPanels/OptionWrapper.cs @@ -38,7 +38,7 @@ namespace ICSharpCode.Profiler.AddIn.OptionPanels } public static bool TrackEvents { - get { return properties.Get("TrackEvents", true); } + get { return properties.Get("TrackEvents", false); } set { properties.Set("TrackEvents", value); } } @@ -50,7 +50,7 @@ namespace ICSharpCode.Profiler.AddIn.OptionPanels properties.Get("DoNotProfileNetInternals", false), properties.Get("CombineRecursiveFunction", false), properties.Get("EnableDCAtStart", true), - properties.Get("TrackEvents", true), + properties.Get("TrackEvents", false), ProfilerOptions.DefaultCounters ); }