网站首页  词典首页

请输入您要查询的函数:

 

术语 getnumaavailablememorynode
释义 GetNumaAvailableMemoryNode
语法:
C++
BOOL WINAPI GetNumaAvailableMemoryNode(
__in UCHAR Node,
__out PULONGLONG AvailableBytes
);
GetNumaAvailableMemoryNode功能
检索的内存量在指定的节点。
使用GetNumaAvailableMemoryNodeEx函数指定作为USHORT价值节点。
参数
节点 [in]
节点的数量。
AvailableBytes [out]
该节点的可用内存量,以字节为单位。
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零。为了获得更多错误信息,调用GetLastError。
备注
该GetNumaAvailableMemoryNode函数返回由指定的节点上的自由和归零页的内存数量。此内存不包括备用的网页。因此,对系统中所有节点的可用内存值的总和等于在自由和零页名单字节内存性能计数器的值,而不是可用字节内存性能计数器,不包括备用的网页。如需有关性能计数器的信息,请参阅内存性能信息。
要求:
最低支持clientWindows Vista中,Windows XP Professional x64版本,Windows XP SP2中
最低支持serverWindows服务器2003
HeaderWinbase.h(头文件:winuser.h)
LibraryKernel32.lib
DLLKernel32.dll
参见
GetNumaAvailableMemoryNodeEx
NUMA支持
进程和线程函数
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年8月27日
==英文原文==GetNumaAvailableMemoryNode Function
Retrieves the amount of memory available in the specified node.
Use the GetNumaAvailableMemoryNodeEx function to specify the node as a USHORT value.
Syntax
C++
BOOL WINAPI GetNumaAvailableMemoryNode(
__in UCHAR Node,
__out PULONGLONG AvailableBytes
);
Parameters
Node [in]
The number of the node.
AvailableBytes [out]
The amount of available memory for the node, in bytes.
Return Value
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError .
Remarks
The GetNumaAvailableMemoryNode function returns the amount of memory consumed by free and zeroed pages on the specified node. This memory does not include standby pages. Therefore, the sum of the available memory values for all nodes in the system is equal to the value of the Free & Zero Page List Bytes memory performance counter rather than the Available Bytes memory performance counter, which does include standby pages. For more information about performance counters, see Memory Performance Information .
Requirements
Minimum supported clientWindows Vista, Windows XP Professional x64 Edition, Windows XP with SP2
Minimum supported serverWindows Server 2003
HeaderWinbase.h (include Windows.h)
LibraryKernel32.lib
DLLKernel32.dll
See Also
GetNumaAvailableMemoryNodeEx
NUMA Support
Process and Thread Functions
Send comments about this topic to Microsoft
Build date: 8/27/2009
==原始网址==http://msdn.microsoft.com/en-us/library/ms683202(VS.85).aspx\n
随便看

 

windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。

 

Copyright © 2004-2023 Winrtm.com All Rights Reserved
京ICP备2021023879号-40 更新时间:2024/10/6 11:31:25