enum ov::ColumnOfCPUMappingTable

Overview

This enum contains definition of each columns in CPU mapping table which use processor id as index. More…

#include <system_conf.hpp>

enum ColumnOfCPUMappingTable
{
    CPU_MAP_PROCESSOR_ID = 0,
    CPU_MAP_SOCKET_ID    = 1,
    CPU_MAP_CORE_ID      = 2,
    CPU_MAP_CORE_TYPE    = 3,
    CPU_MAP_GROUP_ID     = 4,
    CPU_MAP_USED_FLAG    = 5,
    CPU_MAP_TABLE_SIZE   = 6,
};

Detailed Documentation

This enum contains definition of each columns in CPU mapping table which use processor id as index.

GROUP_ID is generated according to the following rules.

  1. If one MAIN_CORE_PROC and one HYPER_THREADING_PROC are based on same Performance-cores, they are in one group.

  2. If some EFFICIENT_CORE_PROC share one L2 cachle, they are in one group.

  3. There are no duplicate group IDs in the system

The following is the example of CPU mapping table.

  1. Four processors of two Pcore

  2. Four processors of four Ecores shared L2 cache

PROCESSOR_ID | SOCKET_ID | CORE_ID | CORE_TYPE | GROUP_ID | Used 0 0 0 3 0 0 1 0 0 1 0 0 2 0 1 3 1 0 3 0 1 1 1 0 4 0 2 2 2 0 5 0 3 2 2 0 6 0 4 2 2 0 7 0 5 2 2 0

Enum Values

CPU_MAP_PROCESSOR_ID

column for processor id of the processor

CPU_MAP_SOCKET_ID

column for socket id of the processor

CPU_MAP_CORE_ID

column for hardware core id of the processor

CPU_MAP_CORE_TYPE

column for CPU core type corresponding to the processor

CPU_MAP_GROUP_ID

column for group id to the processor. Processors in one group have dependency.

CPU_MAP_USED_FLAG

column for resource management of the processor

CPU_MAP_TABLE_SIZE

Size of CPU mapping table.