Condividi tramite


NDIS_SYSTEM_PROCESSOR_INFO_EX struttura (ntddndis.h)

La struttura NDIS_SYSTEM_PROCESSOR_INFO_EX specifica informazioni sulla topologia cpu del computer locale.

Sintassi

typedef struct _NDIS_SYSTEM_PROCESSOR_INFO_EX {
  NDIS_OBJECT_HEADER    Header;
  ULONG                 Flags;
  NDIS_PROCESSOR_VENDOR ProcessorVendor;
  ULONG                 NumSockets;
  ULONG                 NumCores;
  ULONG                 NumCoresPerSocket;
  ULONG                 MaxHyperThreadingProcsPerCore;
  ULONG                 ProcessorInfoOffset;
  ULONG                 NumberOfProcessors;
  ULONG                 ProcessorInfoEntrySize;
} NDIS_SYSTEM_PROCESSOR_INFO_EX, *PNDIS_SYSTEM_PROCESSOR_INFO_EX;

Members

Header

Struttura NDIS_OBJECT_HEADER per la struttura NDIS_SYSTEM_PROCESSOR_INFO_EX. NDIS imposta il membro Type della struttura che Header specifica per NDIS_OBJECT_TYPE_DEFAULT, il membro Revision su NDIS_SYSTEM_PROCESSOR_INFO_EX_REVISION_1 e il membro Size su NDIS_SIZEOF_SYSTEM_PROCESSOR_INFO_EX_REVISION_1.

Flags

Riservato. NDIS imposta questo membro su zero.

ProcessorVendor

Il fornitore del processore specificato come uno dei valori da NDIS_PROCESSOR_VENDOR'enumerazione.

NumSockets

Numero totale di pacchetti fisici del processore, ovvero socket nella scheda madre del computer locale, presenti nel computer locale.

NumCores

Numero totale di processori core presenti nel computer locale. Ad esempio, impostare questo membro su quattro se sono presenti due pacchetti fisici dual core.

NumCoresPerSocket

Numero di processori core presenti in ogni pacchetto fisico. Ad esempio, impostare questo membro su due per un pacchetto fisico dual core.

MaxHyperThreadingProcsPerCore

Numero massimo di processori logici presenti in ogni processore core hyper-threaded. Ad esempio, impostare questo membro su due se ogni processore core hyper-threaded supporta due processori logici.

ProcessorInfoOffset

Offset, in byte, dall'inizio della struttura a una matrice di strutture NDIS_PROCESSOR_INFO_EX , con ogni voce che descrive un processore nel computer. Il membro NumberOfProcessors contiene il numero di strutture NDIS_PROCESSOR_INFO_EX nella matrice. Il membro ProcessorInfoEntrySize contiene le dimensioni delle strutture NDIS_PROCESSOR_INFO_EX nella matrice.

NumberOfProcessors

Numero di elementi nella matrice di strutture NDIS_PROCESSOR_INFO_EX che seguono questa struttura.

ProcessorInfoEntrySize

Dimensioni, in byte, di elementi nella matrice di strutture NDIS_PROCESSOR_INFO_EX che seguono questa struttura.

Commenti

I driver di rete NDIS usano la struttura di NDIS_SYSTEM_PROCESSOR_INFO_EX nelle chiamate al Funzione NdisGetProcessorInformationEx . Dopo che NdisGetProcessorInformationEx restituisce, questa struttura contiene informazioni sulla topologia della CPU del sistema.

Requisiti

Requisito Valore
Client minimo supportato Supportato in NDIS 6.20 e versioni successive.
Intestazione ntddndis.h (include Ndis.h)

Vedi anche

NDIS_OBJECT_HEADER

NDIS_PROCESSOR_INFO_EX

NDIS_PROCESSOR_VENDOR

NDIS_SYSTEM_PROCESSOR_INFO

NdisGetProcessorInformationEx