网站首页  计算机词典

请输入您要查询的字词:

 

字词 getnumanodeprocessormask
释义 GetNumaNodeProcessorMask
语法:
C++
BOOL WINAPI GetNumaNodeProcessorMask(
__in UCHAR Node,
__out PULONGLONG ProcessorMask
);
GetNumaNodeProcessorMask功能
检索指定的节点处理器的面具。
使用GetNumaNodeProcessorMaskEx函数来检索在任何处理器组节点处理器面具。
参数
节点 [in]
节点的数量。
ProcessorMask [out]
节点的处理器掩码。阿处理器面具是位向量中的每一位代表一个处理器,无论是在节点。
在拥有6400多处理器系统中,这个参数设置为节点的处理器掩码只有节点相同的处理器组与调用线程。否则,参数设置为0。
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零。为了获得更多错误信息,调用GetLastError。
备注
要检索的最高编号系统中的节点,使用GetNumaHighestNodeNumber功能。 Note that this number is not guaranteed to equal the total number of nodes in the system.
为了确保您的进程的所有线程在同一节点上运行,使用过程关联掩码,指定在同一节点处理器SetProcessAffinityMask功能。
要求:
最低支持clientWindows Vista中,Windows XP Professional x64版本,Windows XP SP2中
最低支持serverWindows服务器2003
HeaderWinbase.h(头文件:winuser.h)
LibraryKernel32.lib
DLLKernel32.dll
参见
GetNumaNodeProcessorMaskEx
GetNumaProcessorNode
NUMA支持
进程和线程函数
SetProcessAffinityMask
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年8月27日
==英文原文==GetNumaNodeProcessorMask Function
Retrieves the processor mask for the specified node.
Use the GetNumaNodeProcessorMaskEx function to retrieve the processor mask for a node in any processor group.
Syntax
C++
BOOL WINAPI GetNumaNodeProcessorMask(
__in UCHAR Node,
__out PULONGLONG ProcessorMask
);
Parameters
Node [in]
The number of the node.
ProcessorMask [out]
The processor mask for the node. A processor mask is a bit vector in which each bit represents a processor and whether it is in the node.
On systems with more than 64 processors, this parameter is set to the processor mask for the node only if the node is in the same processor group as the calling thread. Otherwise, the parameter is set to zero.
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
To retrieve the highest numbered node in the system, use the GetNumaHighestNodeNumber function. Note that this number is not guaranteed to equal the total number of nodes in the system.
To ensure that all threads for your process run on the same node, use the SetProcessAffinityMask function with a process affinity mask that specifies processors in the same node.
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
GetNumaNodeProcessorMaskEx
GetNumaProcessorNode
NUMA Support
Process and Thread Functions
SetProcessAffinityMask
Send comments about this topic to Microsoft
Build date: 8/27/2009
==原始网址==http://msdn.microsoft.com/en-us/library/ms683204(VS.85).aspx\n
随便看

 

计算机英汉双解词典包含34412条计算机术语英汉翻译词条,基本涵盖了全部常用计算机术语的翻译及用法,是计算机学习及翻译工作的有利工具。

 

Copyright © 2021-2025 foosec.com All Rights Reserved
更新时间:2026/10/23 22:42:03