PcapPlusPlus  19.12
pcpp::SystemCore Struct Reference

#include <SystemUtils.h>

Public Member Functions

bool operator== (const SystemCore &other) const
 

Public Attributes

uint32_t Mask
 
uint8_t Id
 

Detailed Description

Represents data of 1 CPU core. Current implementation supports up to 32 cores

Member Function Documentation

◆ operator==()

bool pcpp::SystemCore::operator== ( const SystemCore other) const
inline

Overload of the comparison operator

Returns
true if 2 addresses are equal. False otherwise

Member Data Documentation

◆ Id

uint8_t pcpp::SystemCore::Id

Core ID - a value between 0 and 31

◆ Mask

uint32_t pcpp::SystemCore::Mask

Core position in a 32-bit mask. For each core this attribute holds a 4B integer where only 1 bit is set, according to the core ID. For example: in core #0 the right-most bit will be set (meaning the number 0x01); in core #5 the 5th right-most bit will be set (meaning the number 0x20)...