术语 | getnumaprocessornode |
释义 | GetNumaProcessorNode 语法: C++ BOOL WINAPI GetNumaProcessorNode( __in UCHAR Processor, __out PUCHAR NodeNumber ); GetNumaProcessorNode功能 检索指定的处理器节点数目。 使用GetNumaProcessorNodeEx函数指定的处理器组和检索作为USHORT价值的节点数目。 参数 处理器[in] 该处理器数量。 在一个拥有6400多逻辑处理器,处理器数量是相对于处理器组包含处理器上调用线程运行的系统。 NodeNumber [out] 节点数目。如果处理器不存在,此参数是0xFF。 返回值 如果函数成功,返回值为非零。 如果函数失败,返回值是零。为了获得更多错误信息,调用GetLastError。 备注 要检索的处理器的系统列表,使用GetProcessAffinityMask功能。 实例 有关示例,请参见分配从NUMA节点内存。 要求: 最低支持clientWindows Vista中,Windows XP Professional x64版本,Windows XP SP2中 最低支持serverWindows服务器2003 HeaderWinbase.h(头文件:winuser.h) LibraryKernel32.lib DLLKernel32.dll 参见 GetNumaNodeProcessorMask GetNumaProcessorNodeEx GetNumaProximityNode GetProcessAffinityMask NUMA支持 如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com) 生成日期:2009年8月27日 ==英文原文==GetNumaProcessorNode Function Retrieves the node number for the specified processor. Use the GetNumaProcessorNodeEx function to specify a processor group and retrieve the node number as a USHORT value. Syntax C++ BOOL WINAPI GetNumaProcessorNode( __in UCHAR Processor, __out PUCHAR NodeNumber ); Parameters Processor [in] The processor number. On a system with more than 64 logical processors, the processor number is relative to the processor group that contains the processor on which the calling thread is running. NodeNumber [out] The node number. If the processor does not exist, this parameter is 0xFF. 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 list of processors on the system, use the GetProcessAffinityMask function. Examples For an example, see Allocating Memory from a NUMA 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 GetNumaNodeProcessorMask GetNumaProcessorNodeEx GetNumaProximityNode GetProcessAffinityMask NUMA Support Send comments about this topic to Microsoft Build date: 8/27/2009 ==原始网址==http://msdn.microsoft.com/en-us/library/ms683205(VS.85).aspx\n |
随便看 |
|
windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。