Searched refs:processor_info (Results 1 – 1 of 1) sorted by relevance
126 SYSTEM_LOGICAL_PROCESSOR_INFORMATION *processor_info = NULL; in GetNumLogicalProcessors() local132 while (!GetLogicalProcessorInformation(processor_info, &len)) { in GetNumLogicalProcessors()135 processor_info = malloc(len); in GetNumLogicalProcessors()141 if (processor_info == NULL) { in GetNumLogicalProcessors()149 if (processor_info[i].Relationship == RelationProcessorCore) in GetNumLogicalProcessors()150 num_processors += hweight64(processor_info[i].ProcessorMask); in GetNumLogicalProcessors()153 free(processor_info); in GetNumLogicalProcessors()