网站首页  词典首页

请输入您要查询的函数:

 

术语 getcurrentprocessornumber
释义 GetCurrentProcessorNumber
语法:
C++
DWORD WINAPI GetCurrentProcessorNumber(void);
GetCurrentProcessorNumber功能
检索人数在调用此函数的处理器在当前线程上运行。
参数
这个函数没有参数。
返回值
该函数返回当前的处理器数量。
备注
这个功能是用来估算过程提供性能信息。
在超过64个逻辑处理器,GetCurrentProcessorNumber函数系统返回处理器内的哪个集团逻辑处理器分配处理器数量。使用GetCurrentProcessorNumberEx函数来检索处理器组和当前的处理器数量。
要求:
client最低支持Vista
最低支持serverWindows服务器2003
HeaderWinbase.h(头文件:winuser.h)
LibraryKernel32.lib
DLLKernel32.dll
参见
多处理器
进程和线程函数
过程
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年8月27日
==英文原文==GetCurrentProcessorNumber Function
Retrieves the number of the processor the current thread was running on during the call to this function.
Syntax
C++
DWORD WINAPI GetCurrentProcessorNumber(void);
Parameters
This function has no parameters.
Return Value
The function returns the current processor number.
Remarks
This function is used to provide information for estimating process performance.
On systems with more than 64 logical processors, the GetCurrentProcessorNumber function returns the processor number within the processor group to which the logical processor is assigned. Use the GetCurrentProcessorNumberEx function to retrieve the processor group and number of the current processor.
Requirements
Minimum supported clientWindows Vista
Minimum supported serverWindows Server 2003
HeaderWinbase.h (include Windows.h)
LibraryKernel32.lib
DLLKernel32.dll
See Also
Multiple Processors
Process and Thread Functions
Processes
Send comments about this topic to Microsoft
Build date: 8/27/2009
==原始网址==http://msdn.microsoft.com/en-us/library/ms683181(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:23:25