Commit Graph

1020 Commits

Author SHA1 Message Date
dmex e6a6963fd9 Update CMakeLists.txt 2026-06-16 10:13:48 +10:00
dmex 5482a203c2 ExtendedTools: add dialogs, resources & fixes
Add several UI dialogs and resources, include new source files in build configs, and apply assorted bugfixes. Changes include: adding new dialogs (WBCL, ACPI, Power Policies, Power Grid, Cache Latency, SRUM, etc.) and corresponding resource IDs; adding new settings keys and prototypes in extools.h; updating CMake and VCXPROJ/filters to include new sources (pwrprp.cpp, envdlg.c, pwrgrid.c, wbcl.c, acpitable.c) and PresentMon entries; expanding linker dependencies and delay-load DLLs (powrprof, runtimeobject, d3d11, dxgi, d2d1, dcomp, dwrite); RC updates to dialog layouts and controls (GPU adapter stats checkbox, SRUM controls, listviews); fixes in code (typo corrected to PhGetProcessAffinityMask, removed unused phsettings include, use NtCurrentImageBase for dialogs, center windows with NULL, initialize window theme from setting). Project file and resource updates keep UI and build in sync for the added features.
2026-06-16 10:05:46 +10:00
dmex e3c623fbdd Add PhCountBitsUlong64, tabnew header and CLR fixes 2026-06-16 06:30:56 +10:00
dmex ee31fc472f ExtendedTools: add dialogs, GPU handle and settings 2026-06-16 05:21:13 +10:00
dmex 2e0a1c7e73 Add ACPI, FADT, FACS, MADT, HPET, MCFG, SRAT, SLIT, BGRT to include new dialogs and controls (Environment Variables, SRUM, PCASRV, Power Policies, WBCL buttons, etc.). 2026-06-16 05:17:12 +10:00
dmex 9566b132e1 Add CLR metadata mapping and UI improvements 2026-06-16 01:54:09 +10:00
dmex 5f4f40fd82 Build and bug fixes 2026-06-15 06:39:23 +10:00
dmex 9a75e23043 #2924 2026-05-26 11:47:59 +00:00
dmex 2037301f94 Update exttools.h 2026-05-24 10:16:15 +10:00
dmex 5438e5ebef Link thirdparty.lib 2026-05-23 17:48:35 +10:00
dmex 5ce4fd5a8c Rename buffer macros; use dpi scaled GPU window margin 2026-05-21 22:13:33 +10:00
dmex bd47573a65 ExtendedTools: Remove legacy circular buffer inits 2026-05-21 10:09:33 +10:00
dmex c84b2fb785 ExtendedTools: Improve precision of GPU usage and statistics 2026-05-21 08:00:27 +10:00
dmex 4f089150a7 Update etwstat.c 2026-05-21 06:17:52 +10:00
dmex 7b424eb5f4 Update etwmini.c 2026-05-21 06:17:17 +10:00
dmex 410af838c3 phlib: change listview selection 2026-05-21 06:13:53 +10:00
dmex d4ee3de0f6 Initialize firewall history circular buffers 2026-05-13 13:52:04 +10:00
dmex 045deecae4 Use DefaultPlatformToolset across projects 2026-05-12 13:19:46 +10:00
dmex a289b94625 ExtendedTools: Skip initialization when running as service
If PhSvc is set, return early to avoid performing initialization that should not run in a service context (prevents interactive-only setup from executing when loaded as a service).
2026-05-10 16:15:02 +10:00
dmex 349d03e9f5 Add network hashset and PH_PROVIDER_UPDATED_EVENT
Introduce a generic PH_PROVIDER_UPDATED_EVENT instead of encoding RunCount via UlongToPtr. Replace the network provider's hashtable with a simple hash set implementation: add PH_HASH_ENTRY to PH_NETWORK_ITEM, implement PhHashNetworkItem and PhCompareNetworkItem, maintain PhNetworkHashSet array and count, and update all lookup/enum/remove/add paths to use the new hash set and locks.
2026-05-09 18:51:01 +10:00
dmex 9016053a03 Refactor to use discovered adapters for GPU/NPU
Introduce ET_DISCOVERED_ADAPTER and EtpDiscoveredAdapterList plus EtInitializeGraphicsAdapters/EtUninitializeGraphicsAdapters and EtGetDeviceInterfaceFromLuid in extools.h. Replace direct device interface enumeration (CM_*/PhDevGetObjects) in gpumon.c and npumon.c with iteration over the discovered adapter list, handling adapter handle vs device interface entries and only closing handles opened locally. Add processedCount to compute averages and adjust limits to divide by processedCount. Add ET_UPDATE_PROCESS_STATISTICS_MINMAX macro and update GPU process callback to use PPH_PROVIDER_UPDATED_EVENT (extract RunCount) and update min/max/diff only when appropriate. Minor renames/fixes for segment info pointers and wire up adapter init/uninit calls in Load/Unload.
2026-05-09 17:34:11 +10:00
dmex b5871c5faf Update utils.c 2026-05-09 17:03:33 +10:00
dmex 8ab5398d1d Add extended disk metrics and firewall enhancements
Extend disk tree with new columns (read/write/total rates and bytes), add corresponding sort functions and display formatting, and protect rate calculations when update interval is zero. Expand firewall monitoring: track allow/block counters, deltas and history; Add undocumented FW_EVENT and FW_EVENT_ITEM with process, interface, compartment and filter metadata; add hostname resolution, resolve and filter display caches, and helpers for querying/formatting/filter display data. Also update fwmon to use new handles, function pointers and queueing logic, and adjust related externs and prototypes.
2026-05-09 15:12:12 +10:00
Zack-src b43c14f0c6 ExtendedTools: add GPU memory mini-info section (#2901) 2026-05-06 06:04:36 +10:00
dmex a238762ed5 Use .Pair instead of ->Pair 2026-05-05 20:48:34 +10:00
dmex c9b75fda3c Improve DPI handling and various fixes 2026-05-05 02:31:17 +10:00
dmex 1641af3a94 Update wswatch.c 2026-05-03 07:16:15 +10:00
dmex 1938fd5a62 Update unldll.c 2026-05-03 07:16:15 +10:00
dmex b9db7f3616 Update pooldialog.c 2026-05-03 07:16:15 +10:00
dmex 682fd12b0c Update npunodes.c 2026-05-03 07:16:15 +10:00
dmex 8350918045 Update firmware_editor.c 2026-05-03 07:16:15 +10:00
dmex accde03868 Update firmware.c 2026-05-03 07:16:15 +10:00
dmex 3a6799253e Update etwsys.c 2026-05-03 07:16:15 +10:00
dmex 9467d5f646 Improve DPI handling, icon scaling, metrics (#2894) 2026-05-02 09:13:06 +10:00
dmex bff820d7e7 Standardize dialog params and add stats 2026-04-23 15:27:39 +10:00
dmex a8265d962f Add extended energy statistics and samples 2026-04-23 15:22:24 +10:00
dmex 070e30b229 ExtendedTools: init deltas, fonts, reparse fix
Initialize delta counters on first samples to avoid spurious spikes (process/network/pool code paths). Add/rename sample-tracking booleans in exttools.h and add HFONT WindowFont fields to several dialog contexts (UEFI, PoolMon, Unloaded DLLs, WSWatch); duplicate the app font for list/tree controls with SetWindowFont and free it on teardown. Fix FileReference usage in reparse callbacks to use entry->FileReference.QuadPart. Adjust sort function typedef in waitchain to use the secure compare function type. Also add WM_GETDLGCODE handling and a minor dialog return behavior tweak in the firmware dialog.
2026-04-17 10:43:37 +10:00
dmex a4b3e9ed4e Update tpm_editor.c 2026-04-17 03:37:31 +10:00
dmex a0a109f3b5 Update pooltree.c 2026-04-17 03:37:17 +10:00
dmex 0e1ac1dcd9 Update firmware_editor.c 2026-04-17 03:37:03 +10:00
dmex 92ba158381 Update disktab.c 2026-04-17 03:35:40 +10:00
dmex 9294790672 ExtendedTools: Use graph callbacks instead of WM_NOTIFY
Add EtProcessGpuGraphMessageCallback and EtpGpuSysInfoGraphMessageCallback to centralize graph drawing/tooltip logic into the callbacks, and refactor scaling/AVX paths and label computation. Add EtProcessGpuPropertiesInitializing and adjust dialog message flow to use graph callbacks instead of WM_NOTIFY.
2026-04-08 18:38:11 +10:00
dmex 9ce67c3f1c ExtendedTools: Add buffer size checks for counters 2026-04-08 18:36:10 +10:00
dmex 7d6c2c2912 Query KMTQAITYPE_GETSEGMENTSIZE to obtain dedicated/shared memory sizes; compute and display reserved memory based on the visible limit instead of relying on global statistics. 2026-04-04 16:53:11 +11:00
dmex 34016e27d9 Apply SAL annotations fixes and add annotations 2026-04-01 12:11:37 +11:00
dmex bf633a2a03 Update fwtab.c 2026-03-29 03:18:38 +11:00
Johnny Shaw 3d27bc0c43 Rename PhReferenceObjectSafe to Unsafe 2026-03-20 17:40:54 -06:00
dmex 13ada47f53 Update counters.c 2026-02-24 07:07:08 +11:00
dmex ef71eb681b Update PresentMon.cpp 2026-02-01 00:48:10 +11:00
dmex 5ef7d599ae Update PresentMon.hpp 2026-02-01 00:48:07 +11:00