mirror of
https://github.com/mirror/processhacker
synced 2026-06-08 16:03:24 +00:00
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:
@@ -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)
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user