Давно и с недоверием присматриваюсь к некоторым функциям WinAPI ориентированным на повышение производительности приложения. Открыв MSDN, нашел описание интересующих меня функций:
BOOL WINAPI SetPriorityClass(
_In_ HANDLE hProcess,
_In_ DWORD dwPriorityClass
);
Sets the priority class for the specified process. This value together with the priority value of each thread of the process determines each thread's base priority level.
BOOL WINAPI SetProcessWorkingSetSize(
_In_ HANDLE hProcess,
_In_ SIZE_T dwMinimumWorkingSetSize,
_In_ SIZE_T dwMaximumWorkingSetSize
);
Sets the minimum and maximum working set sizes for the specified process.
BOOL WINAPI SetProcessPriorityBoost(
_In_ HANDLE hProcess,
_In_ BOOL DisablePriorityBoost
);
Disables or enables the ability of the system to temporarily boost the priority of the threads of the specified process.
Читать полностью »






