diff --git a/README.md b/README.md index bcf41d6..a1d1da8 100644 --- a/README.md +++ b/README.md @@ -84,6 +84,6 @@ The content from the following public sources were lawfully used: - Windows Internals And public projects: -- phnt (from [winsiderss/systeminformer](https://github.com/winsiderss/systeminformer), [commit 6a372fc5](https://github.com/winsiderss/systeminformer/commit/6a372fc5167e3c27230dee84644817c5e54ef5ed)) - [MIT](https://github.com/winsiderss/phnt/blob/master/LICENSE) +- phnt (from [winsiderss/systeminformer](https://github.com/winsiderss/systeminformer), [commit 6a626538](https://github.com/winsiderss/systeminformer/commit/6a6265382ad6d4b12c362555df6a3ae4843c18f7)) - [MIT](https://github.com/winsiderss/phnt/blob/master/LICENSE) [KNSoft.NDK](https://github.com/KNSoft/KNSoft.NDK) also uses [KNSoft/Precomp4C](https://github.com/KNSoft/Precomp4C) to generate DLL import libraries. diff --git a/README.zh-CN.md b/README.zh-CN.md index 86c2b06..bea92ed 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -84,6 +84,6 @@ NuGet包[KNSoft.NDK](https://www.nuget.org/packages/KNSoft.NDK)包含所有头 - Windows Internals 和公开项目: -- phnt(来自[winsiderss/systeminformer](https://github.com/winsiderss/systeminformer),[提交 6a372fc5](https://github.com/winsiderss/systeminformer/commit/6a372fc5167e3c27230dee84644817c5e54ef5ed))- [MIT](https://github.com/winsiderss/phnt/blob/master/LICENSE) +- phnt(来自[winsiderss/systeminformer](https://github.com/winsiderss/systeminformer),[提交 6a626538](https://github.com/winsiderss/systeminformer/commit/6a6265382ad6d4b12c362555df6a3ae4843c18f7))- [MIT](https://github.com/winsiderss/phnt/blob/master/LICENSE) [KNSoft.NDK](https://github.com/KNSoft/KNSoft.NDK)也使用了[KNSoft/Precomp4C](https://github.com/KNSoft/Precomp4C)来生成DLL引入库。 diff --git a/Source/Include/KNSoft/NDK/NT/Ex/SysInfo.h b/Source/Include/KNSoft/NDK/NT/Ex/SysInfo.h index c06bef1..dbc9bb3 100644 --- a/Source/Include/KNSoft/NDK/NT/Ex/SysInfo.h +++ b/Source/Include/KNSoft/NDK/NT/Ex/SysInfo.h @@ -252,7 +252,7 @@ typedef enum _SYSTEM_INFORMATION_CLASS SystemPointerAuthInformation, // SYSTEM_POINTER_AUTH_INFORMATION SystemSecureKernelDebuggerInformation, SystemOriginalImageFeatureInformation, // q: in: SYSTEM_ORIGINAL_IMAGE_FEATURE_INFORMATION_INPUT, out: SYSTEM_ORIGINAL_IMAGE_FEATURE_INFORMATION_OUTPUT // NtQuerySystemInformationEx - SystemMemoryNumaInformation, // SYSTEM_MEMORY_NUMA_INFORMATION_INPUT, SYSTEM_MEMORY_NUMA_INFORMATION_OUTPUT + SystemMemoryNumaInformation, // SYSTEM_MEMORY_NUMA_INFORMATION_INPUT, SYSTEM_MEMORY_NUMA_INFORMATION_OUTPUT SystemMemoryNumaPerformanceInformation, // SYSTEM_MEMORY_NUMA_PERFORMANCE_INFORMATION_INPUTSYSTEM_MEMORY_NUMA_PERFORMANCE_INFORMATION_INPUT, SYSTEM_MEMORY_NUMA_PERFORMANCE_INFORMATION_OUTPUT // since 24H2 // 240 SystemCodeIntegritySignedPoliciesFullInformation, SystemSecureSecretsInformation, @@ -2475,6 +2475,14 @@ typedef struct _SYSTEM_HYPERVISOR_DETAIL_INFORMATION // private typedef struct _SYSTEM_PROCESSOR_CYCLE_STATS_INFORMATION { + // + // First index is bucket (see: PoGetFrequencyBucket) selected based on latest frequency percent + // using _KPRCB.PowerState.FrequencyBucketThresholds. + // + // Second index is _KPRCB.PowerState.ArchitecturalEfficiencyClass, accounting for architecture + // dependent KeHeteroSystem and using _KPRCB.PowerState.EarlyBootArchitecturalEfficiencyClass + // instead, when appropriate. + // ULONGLONG Cycles[4][2]; } SYSTEM_PROCESSOR_CYCLE_STATS_INFORMATION, *PSYSTEM_PROCESSOR_CYCLE_STATS_INFORMATION; diff --git a/Source/KNSoft.NDK/KNSoft.NDK.vcxproj b/Source/KNSoft.NDK/KNSoft.NDK.vcxproj index d2c4202..39989fa 100644 --- a/Source/KNSoft.NDK/KNSoft.NDK.vcxproj +++ b/Source/KNSoft.NDK/KNSoft.NDK.vcxproj @@ -1,6 +1,6 @@  - + Release @@ -258,13 +258,13 @@ - + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - + + \ No newline at end of file diff --git a/Source/KNSoft.NDK/KNSoft.NDK.vcxproj.filters b/Source/KNSoft.NDK/KNSoft.NDK.vcxproj.filters index 82a83ca..3a517aa 100644 --- a/Source/KNSoft.NDK/KNSoft.NDK.vcxproj.filters +++ b/Source/KNSoft.NDK/KNSoft.NDK.vcxproj.filters @@ -450,10 +450,10 @@ - Package + diff --git a/Source/KNSoft.NDK/packages.config b/Source/KNSoft.NDK/packages.config index 196bfb0..f959f22 100644 --- a/Source/KNSoft.NDK/packages.config +++ b/Source/KNSoft.NDK/packages.config @@ -1,4 +1,4 @@  - + \ No newline at end of file