added SampleCount setting

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@3275 21ef857c-d57f-4fe0-8362-d861dc6d29cd
This commit is contained in:
wj32
2010-07-06 02:23:48 +00:00
parent ec458bd0c9
commit be8d5d56d7
3 changed files with 4 additions and 1 deletions
+2
View File
@@ -1732,6 +1732,8 @@ VOID PhpInitialLoadSettings()
);
}
PhStatisticsSampleCount = PhGetIntegerSetting(L"SampleCount");
NotifyIconMask = PhGetIntegerSetting(L"IconMask");
for (i = PH_ICON_MINIMUM; i != PH_ICON_MAXIMUM; i <<= 1)
+1 -1
View File
@@ -120,7 +120,7 @@ PH_CALLBACK PhProcessesUpdatedEvent;
PPH_LIST PhProcessRecordList;
PH_QUEUED_LOCK PhProcessRecordListLock = PH_QUEUED_LOCK_INIT;
ULONG PhStatisticsSampleCount = 500;
ULONG PhStatisticsSampleCount = 512;
SYSTEM_PERFORMANCE_INFORMATION PhPerfInformation;
PSYSTEM_PROCESSOR_PERFORMANCE_INFORMATION PhCpuInformation;
+1
View File
@@ -64,6 +64,7 @@ VOID PhSettingsInitialization()
PhpAddStringSetting(L"ProgramInspectExecutables", L"peview.exe \"%s\"");
PhpAddStringSetting(L"RunAsProgram", L"");
PhpAddStringSetting(L"RunAsUserName", L"");
PhpAddIntegerSetting(L"SampleCount", L"200"); // 512
PhpAddStringSetting(L"SearchEngine", L"http://www.google.com/search?q=\"%s\"");
PhpAddIntegerSetting(L"StartHidden", L"0");
PhpAddIntegerSetting(L"SysInfoWindowAlwaysOnTop", L"0");