Home
last modified time | relevance | path

Searched refs:SystemBasicInfo (Results 1 – 5 of 5) sorted by relevance

/reactos/sdk/lib/rtl/
H A Dthread.c30 SYSTEM_BASIC_INFORMATION SystemBasicInfo; in RtlpCreateUserStack() local
39 &SystemBasicInfo, in RtlpCreateUserStack()
67 StackReserve = SystemBasicInfo.AllocationGranularity; in RtlpCreateUserStack()
69 StackCommit = SystemBasicInfo.PageSize; in RtlpCreateUserStack()
80 StackCommit = ROUND_UP(StackCommit, SystemBasicInfo.PageSize); in RtlpCreateUserStack()
81 StackReserve = ROUND_UP(StackReserve, SystemBasicInfo.AllocationGranularity); in RtlpCreateUserStack()
103 if (StackReserve >= StackCommit + SystemBasicInfo.PageSize) in RtlpCreateUserStack()
105 Stack -= SystemBasicInfo.PageSize; in RtlpCreateUserStack()
106 StackCommit += SystemBasicInfo.PageSize; in RtlpCreateUserStack()
134 GuardPageSize = SystemBasicInfo.PageSize; in RtlpCreateUserStack()
/reactos/base/applications/taskmgr/
H A Dperfdata.c59 …atus = NtQuerySystemInformation(SystemBasicInformation, &SystemBasicInfo, sizeof(SystemBasicInfo),… in PerfDataInitialize()
927 PageSize = SystemBasicInfo.PageSize; in PerfDataGetCommitChargeTotalK()
944 PageSize = SystemBasicInfo.PageSize; in PerfDataGetCommitChargeLimitK()
961 PageSize = SystemBasicInfo.PageSize; in PerfDataGetCommitChargePeakK()
981 PageSize = SystemBasicInfo.PageSize; in PerfDataGetKernelMemoryTotalK()
1001 PageSize = SystemBasicInfo.PageSize; in PerfDataGetKernelMemoryPagedK()
1018 PageSize = SystemBasicInfo.PageSize; in PerfDataGetKernelMemoryNonPagedK()
1034 Total = SystemBasicInfo.NumberOfPhysicalPages; in PerfDataGetPhysicalMemoryTotalK()
1035 PageSize = SystemBasicInfo.PageSize; in PerfDataGetPhysicalMemoryTotalK()
1052 PageSize = SystemBasicInfo.PageSize; in PerfDataGetPhysicalMemoryAvailableK()
[all …]
/reactos/modules/rosapps/applications/sysutils/ctm/
H A Dctm.c95 SYSTEM_BASIC_INFORMATION SystemBasicInfo; variable
407 NtQuerySystemInformation(SystemBasicInformation, &SystemBasicInfo, sizeof(SystemBasicInfo), 0); in PerfInit()
439 …NFORMATION)malloc(sizeof(SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION) * SystemBasicInfo.NumberOfProce… in PerfDataRefresh()
440 …rocessorTimeInfo, sizeof(SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION) * SystemBasicInfo.NumberOfProce… in PerfDataRefresh()
449 for (Idx=0; Idx<SystemBasicInfo.NumberOfProcessors; Idx++) { in PerfDataRefresh()
471 dbIdleTime = 100.0 - dbIdleTime * 100.0 / (double)SystemBasicInfo.NumberOfProcessors;// + 0.5; in PerfDataRefresh()
472 dbKernelTime = 100.0 - dbKernelTime * 100.0 / (double)SystemBasicInfo.NumberOfProcessors;// + 0.5; in PerfDataRefresh()
537 CpuTime = CpuTime * 100.0 / (double)SystemBasicInfo.NumberOfProcessors; // + 0.5; in PerfDataRefresh()
/reactos/dll/win32/psapi/
H A Dpsapi.c1398 SYSTEM_BASIC_INFORMATION SystemBasicInfo; in GetPerformanceInfo() local
1413 &SystemBasicInfo, in GetPerformanceInfo()
1414 sizeof(SystemBasicInfo), in GetPerformanceInfo()
1518 pPerformanceInformation->PhysicalTotal = SystemBasicInfo.NumberOfPhysicalPages; in GetPerformanceInfo()
1522 pPerformanceInformation->PageSize = SystemBasicInfo.PageSize; in GetPerformanceInfo()
/reactos/win32ss/drivers/videoprt/
H A Dvideoprt.c423 SYSTEM_BASIC_INFORMATION SystemBasicInfo; in IntVideoPortFindAdapter() local
444 &SystemBasicInfo, in IntVideoPortFindAdapter()
445 sizeof(SystemBasicInfo), in IntVideoPortFindAdapter()
449 ConfigInfo.SystemMemorySize = SystemBasicInfo.NumberOfPhysicalPages * in IntVideoPortFindAdapter()
450 SystemBasicInfo.PageSize; in IntVideoPortFindAdapter()