Commit Graph

64 Commits

Author SHA1 Message Date
dmex 025db3a0ec Fix UI init and token diagnostics
This change moves main-window setup to WM_CREATE to avoid invalid initial layouts, improves dialog focus and window-placement restoration, and includes a wide set of Win32/UI correctness fixes across the app. It also adds thread-stack and Wow64 safety handling, improves token details (authority/RID and elevated-privilege highlighting), and broadens the low-level documentation comments. The update also adjusts a few build settings in CustomBuildTool to improve runtime behavior.
2026-10-01 23:49:16 +10:00
dmex 15ec45a121 Update copyright year 2026-07-01 01:43:30 +10:00
dmex a505af0969 Enhance miniinfo graphs & zombie process handles 2026-06-15 12:56:06 +10:00
dmex 397dda6135 Fix various warnings 2026-06-01 04:30:30 +10:00
Johnny Shaw 3ce69f16be syssccpu improve cache lookup 2026-05-28 14:06:18 -06:00
dmex 8d2532794e Extract CPU intercept latency and refactor loops
Move the bespoke timing/CPUID probing from PhSipUpdateCpuPanel into a new helper PhSipGetCpuInterceptLatency() to centralize intercept-latency calculation and simplify platform-specific handling. Refactor PhSipUpdateProcessorPerformanceDistribution() to use per-branch typed locals and direct array indexing for state hitcounts (improves readability and correctness of pointer arithmetic). Also apply a small control-flow/formatting fix in PhSipGetCpuFrequencyFromDistributionLegacy().
2026-05-11 13:53:08 +10:00
dmex c9b75fda3c Improve DPI handling and various fixes 2026-05-05 02:31:17 +10:00
dmex 7ff04762e2 Fix bounds, safety checks, and sort types
- Add SysInfoMinimumGraphHeight and SysInfoScrollEnabled settings.
- Remove redundant TreeNew_NodesStructured calls to avoid extra re-structuring.
- Fix off-by-one checks on hybridProcessorTypeList (use >=).
- Add null/empty checks before indexing directory lists in CLR metadata handling.
- Use PhShowStatusHR and correct failure logic when CLR table enumeration fails.
- Replace mutable PVOID sortFunctions arrays with CONST _CoreCrtSecureSearchSortCompareFunction and use the correct function pointer type for sortFunction in several peview tree callbacks.
- Replace SetWindowLongPtr reset with PhSetWindowProcedure for prop sheet cleanup.
- Change dwCountElems type to ULONG in pdb printing.
2026-04-11 00:57:41 +10:00
dmex 7f5d30d719 Add SYSTEM_PROCESSOR_BRAND_STRING 2026-03-29 03:36:53 +11:00
dmex bae2ca3b41 Update comments and tidy up 2026-03-22 11:31:16 +11:00
dmex 80c55b5fe1 Add text formatting support to PhSetGraphText2 2026-01-11 16:30:38 +11:00
dmex a025b77586 Improve cpu brand fallback 2025-12-31 16:21:49 +11:00
Johnny Shaw 546ed75f28 fix firmware typos 2025-11-27 13:01:23 -07:00
Johnny Shaw 9efd3fc359 sysscpu fix oob reads 2025-11-02 14:07:51 -07:00
dmex d6fa11f143 Update SAL annotations and add stack allocations for some types 2025-10-08 15:43:41 +11:00
dmex 400d9a0ef1 Add SysInfoShowCpuSpeedPerCpu 2025-09-28 18:01:44 +10:00
dmex 5423ff7cfb Merge dev branch fixes (#2680) 2025-09-07 05:06:34 +10:00
dmex dd50d92718 Make strings CONST 2025-04-21 00:22:35 +10:00
dmex 7b0320de00 Make strings CONST 2025-04-20 08:44:08 +10:00
Johnny Shaw 9b4ec239d4 syssccpu check cache enablement 2025-01-15 09:34:00 -07:00
Johnny Shaw 1a1104ec95 syssccpu fix L3 cache calculation 2025-01-15 09:22:58 -07:00
Johnny Shaw f9662030b3 syssccpu fix cpu cache size on split cache systems 2025-01-12 21:56:18 -07:00
Johnny Shaw b3a7ea1608 syssc disable hw info on virtual machines 2025-01-11 13:04:56 -07:00
Johnny Shaw 73221d7d87 phfirmware virtual status cleanup 2025-01-11 11:14:04 -07:00
Johnny Shaw 5e60f09fe6 syssccpu show virtualization 2025-01-11 01:42:36 -07:00
Johnny Shaw 2df035b122 sysscspu cache sizes 2025-01-07 22:44:42 -07:00
Johnny Shaw f6c749329f remaining workaround msvc uninitialized stack bug 2024-12-26 10:27:20 -07:00
dmex f8757ab345 Update to the latest SDK 2024-12-01 16:17:11 +11:00
Johnny Shaw f2cdc51e31 syssccpu PhIsCoreParked unlikely leak fix 2024-11-03 07:43:01 -07:00
Johnny Shaw 84a0a3161d syssccpu fix PhIsCoreParked 2024-11-02 17:15:05 -06:00
dmex f92eab7083 Update SDK for const compatibility
Resolves C++ SDK compatibility issues
2024-10-17 04:33:07 +11:00
dmex 30d1603e7c Make hybrid text consistent from PR #1899 2024-10-03 22:33:11 +10:00
dmex 870e8ee593 Add SysInfoShowCpuSpeedMhz setting 2024-09-17 15:30:50 +10:00
dmex 15037a7f83 Rename type 2024-09-16 14:32:51 +10:00
dmex ec374c3c42 Add PhGetProcessorNominalFrequency 2024-09-09 02:33:03 +10:00
Johnny Shaw fce9773b07 syssccpu fix incorrect free 2024-05-17 08:21:28 -06:00
Johnny Shaw a33a65aab8 syssccpu cleanup core parking 2024-05-16 20:22:15 -06:00
Gleb Surikov 4736dc3b47 Display core parking indicator when hovering the mouse over the processor graphs (#2040)
* Display core parking status in the CPU tab of the System Information window

* Fix display of time statistics. Use named index for time statistics.

* Use NtQuerySystemInformationEx instead of GetSystemCpuSetInformation. Don't pass a handle to a process as we aren't interested in whether CPU set is allocated to any process (the indirected handle still has to be valid and point to 0).

* Use the size field from SYSTEM_CPU_SET_INFORMATION to determine the offset to the next set when iterating CPU sets instead of indexing.

---------

Co-authored-by: dmex <dmex04@gmail.com>
Co-authored-by: Johnny Shaw <johnny.shaw@live.com>
2024-05-16 19:00:33 -06:00
Hernan Martinez c687fa261d Add Efficient/Performance core querying on ARM64 (#1899)
* Add Efficient/Performance core querying on ARM64

* Fix comment

* Change cores names to big.LITTLE

* Count masks in all core groups

* Use constants
2023-11-15 20:04:31 -07:00
dmex b92596b659 Update SDK (#1767) 2023-06-20 09:19:46 +10:00
Johnny Shaw a59f927bdc string cleanup 2023-06-15 11:36:14 -06:00
dmex ddb18a94a0 Add experimental SIMD performance and EnableAvxSupport setting 2023-05-27 03:12:40 +10:00
dmex 83f2dfde64 Update SysInfoViewChanging callback parameters 2023-05-16 02:44:21 +10:00
dmex 03c59d266e Remove whitespace 2023-04-26 10:27:13 +10:00
dmex 4acc8f6036 Add PhGetSystemLogicalProcessorRelationInformation 2023-04-06 15:52:40 +10:00
dmex 53c44dd8ad Add Utf8 processor brand string 2023-03-21 15:27:51 +11:00
dmex fb8cbadec3 Update PHSDK 2023-02-28 09:44:14 +11:00
dmex 25caab0f46 Update UInt32Add32To64 macro 2023-02-18 03:51:14 +11:00
dmex 766a428b2d Update PhQueryPerformanceCounter typedefs 2023-02-10 10:31:46 +11:00
dmex e77a5c388f Fix remaining layout issues after DPI changes #1386 2023-02-02 13:11:12 +11:00