TaskMan v0.1.13
An efficiency, performance, and metric fidelity release: VidMm-accurate dedicated and shared GPU memory reporting, zero-overhead background operation with gated telemetry demands and stretched sampling cadences, dynamic event-driven keyboard hook attachment, non-intrusive topmost window tracking, and leak-free service watchdog lifecycle management.
GPU Metric Accuracy
- Authoritative VidMm GPU adapter memory counters. Switched dedicated and shared GPU memory reporting on Windows to
\GPU Adapter Memory(*)\Dedicated UsageandShared Usageperformance counters directly from the Windows Video Memory Manager (VidMm). Previously, summing per-process virtual committed video memory double-counted composed window buffers and DWM surfaces (e.g.dwm.exealone routinely reports 8–10+ GB of virtual committed VRAM), causing an idle GPU using ~1.5 GB of VRAM to be reported and charted at 11+ GB (often 90–100% capacity). Adapter metrics are now matched by adapter LUID, restoring accurate physical VRAM numbers matching native Windows Task Manager.
Background Efficiency & Idle Power Contract
- Visibility-gated telemetry demand. When TaskMan is hidden in the system tray, minimized, or occluded, telemetry demand automatically demotes to
TelemetryDemand::hidden()(CORE_PROCESSonly). This eliminates ~1.25 MB/s of background ETW trace throughput from the disk and network kernel trace sessions (TaskMan-Disk-ServiceandTaskMan-Net-Service) while TaskMan is not visible. - Stretched cadence & background thread scheduling. Hidden mode stretches sampling cadence to 5 seconds and places the sampling thread into
THREAD_MODE_BACKGROUND_BEGINso background monitoring never takes disk I/O, paging, or CPU time slices away from foreground games or user applications. - Instant surface restoration. When the TaskMan window is unminimized or restored from tray, an immediate frame request and sampler tick are dispatched, guaranteeing the restored interface never lags on hidden cadence or stale numbers.
Hotkey Hook & Desktop Interactivity
- Dynamic hook installation. The
WH_KEYBOARD_LLlow-level keyboard hook is now only installed while the Task Manager replacement is actively enabled in Image File Execution Options (IFEO). An event-drivenRegNotifyChangeKeyValuewatch on the IFEO root arms and disarms the hook automatically without registry polling. - Worker message queue pumping. The background hotkey worker thread pumps its own Win32 message queue, ensuring that thread input attachments during foreground activation cannot starve or back up the target application's message loop.
Desktop Window Management & Stability
- Topmost tracking isolation. Removed desktop-wide
EVENT_OBJECT_REORDERhook from the strict topmost keeper, eliminating cross-process event marshalling on internal UI reordering within other applications. Topmost hooks are now cleanly unhooked whenever always-on-top is disabled. - Hung application protection during foreground activation.
force_foregroundnow checks whether the current foreground window is hung before attaching thread input, preventing activation calls from hanging or wedging unresponsive applications.
Service Reliability & Watchdog Lifecycle
- Ephemeral trace watchdogs. Core service idle trace watchdogs are now spawned directly with their trace sessions and sleep to the exact idle deadline, terminating cleanly when the session ends rather than polling continuously for the lifetime of the service.
Verifying a download
Each archive ships a .sha256 checksum file beside it:
sha256sum -c taskman-v0.1.13-windows-x86_64.zip.sha256
Full changelog: v0.1.12...v0.1.13