Re: Determining on which processor (or core) a given thread is currently running
- From: "Kürşat" <kursattheking@xxxxxxxxx>
- Date: Thu, 23 Oct 2008 13:46:55 +0300
Yes, threads can execute on any available core or CPU at any given time and
this doesn't mean that thread will always execute on the same core or CPU. I
am trying to proof IOCP's efficient multi-core usage to my manager.
"m" <m@xxx> wrote in message news:e79KxI9MJHA.5228@xxxxxxxxxxxxxxxxxxxxxxx
Why? This information can change as soon as DURING the test so unless you
have a NUMA system, the value is meaningless.
"Kürþat" <kursattheking@xxxxxxxxx> wrote in message
news:u$sjoQ1MJHA.4380@xxxxxxxxxxxxxxxxxxxxxxx
Hi,
I want to get an identifier (id, number, etc.) about the processor or
core which executes currently running thread. The OS is WindowsXP+SP3, so
both GetCurrentProcessorNumber () and NtGetCurrentProcessorNumber ()
functions aren't available. Is there any function or technique available
for WindowsXP to get the job done?
Thanks in advance.
.
- Follow-Ups:
- References:
- Prev by Date: Re: DebugPrint() how to see?
- Next by Date: USB - Which arguments to use where to retrieve a USB_INTERFACE_DESCRIPTOR record
- Previous by thread: Re: Determining on which processor (or core) a given thread is currently running
- Next by thread: Re: Determining on which processor (or core) a given thread is currently running
- Index(es):
Relevant Pages
|