Commit Graph

5 Commits

Author SHA1 Message Date
PrimeBuild-pc ebeeaec459 ci: run native EcoQoS tests on a Windows 11-era kernel
Windows Server 2022 build 20348 rejects GetProcessInformation(ProcessPowerThrottling) with ERROR_INVALID_PARAMETER (87), with both limited and full query handles. Windows 11 local tests pass. Use Server 2025 for CI/release tests and smoke testing; keep the real round-trip assertions, remove temporary probes.
2026-10-16 11:37:33 +02:00
PrimeBuild-pc af856d7a39 test: use native full-query access mask in EcoQoS diagnostic 2026-10-16 11:33:01 +02:00
PrimeBuild-pc 15ea233a1b test: diagnose EcoQoS read failures on Windows Server 2026-10-16 11:29:23 +02:00
PrimeBuild-pc 5d19a46fc1 feat: per-process efficiency mode (EcoQoS) for live processes and rules
Closes #66.

- Native: SetProcessInformation/GetProcessInformation with
  ProcessPowerThrottling (EXECUTION_SPEED), three states: Windows decides,
  On (EcoQoS), Off (never throttle / HighQoS).
- Process tab: context menu entries, a picker with Apply in the details
  panel, current state in the summary, undo of the last change, included
  when saving current settings as a rule (only if explicitly set).
- Rules: EfficiencyMode + ApplyEfficiencyModeOnStart, applied by the rules
  engine, editable in the saved-rule editor, validated on import and part
  of conflict detection.
- The summary flags when the global Power Throttling tweak voids it. CPU
  priority is left alone, unlike Task Manager's efficiency mode.
- Localized in all seven languages.
2026-10-14 17:16:36 +02:00
Seyedamin Mousavichashmi 70b7f6d193 fix: enable SeIncreaseBasePriorityPrivilege when setting High I/O priority (#65)
* fix: enable SeIncreaseBasePriorityPrivilege for high I/O priority and map privilege errors

* fix: scope SeIncreaseBasePriorityPrivilege and restore token state with reference counting

* test: add concurrent multi-threaded integration test for privilege scoping
2026-10-12 21:26:33 +02:00