dispenso 1.6.2
A library for task parallelism
Loading...
Searching...
No Matches
dispenso::CacheGroup Struct Reference

Describes a group of CPUs that share a cache level. More...

#include <cpu_set.h>

Public Attributes

std::vector< int32_t > cpus
 CPU IDs in this group.
 
int32_t cacheId
 

Detailed Description

Describes a group of CPUs that share a cache level.

Used by the topology detection API to report L2 and L3 cache sharing groups.

Definition at line 106 of file cpu_set.h.

Member Data Documentation

◆ cacheId

int32_t dispenso::CacheGroup::cacheId

Unique cache identifier. On Linux, the hardware cache instance ID from sysfs; on FreeBSD, a dispenso-assigned counter with no hardware/OS meaning.

Definition at line 108 of file cpu_set.h.

◆ cpus

std::vector<int32_t> dispenso::CacheGroup::cpus

CPU IDs in this group.

Definition at line 107 of file cpu_set.h.


The documentation for this struct was generated from the following file: