---
name: "cpu_raw_data_array_t"
section: "3"
platform: "linux"
package: "libcpuid"
version: "0.8.2-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/cpu_raw_data_array_t"
---

# cpu\_raw\_data\_array\_t(3)

Contains an array of raw CPUID data.

## NAME

cpu\_raw\_data\_array\_t - Contains an array of raw CPUID data.

## SYNOPSIS

\#include \<libcpuid.h\>

### Data Fields

bool **with\_affinity**\
 logical\_cpu\_t **num\_raw**\
 struct **cpu\_raw\_data\_t** \* **raw**\

## Detailed Description

Contains an array of raw CPUID data.

This contains one **cpu\_raw\_data\_t** for each logical CPU.

**Note**

There is a hard limit of raw array: it is bounded by the logical\_cpu\_t type. In other words, the limit is 65536 logical CPUs in the system.

## Field Documentation

### logical\_cpu\_t cpu\_raw\_data\_array\_t::num\_raw

**raw** length

### struct cpu\_raw\_data\_t\* cpu\_raw\_data\_array\_t::raw

array of raw CPUID data

### bool cpu\_raw\_data\_array\_t::with\_affinity

Indicates if **raw** was obtained by using CPU affinity if false, **raw** contains a single data from an old dump (versions 0.5.1 and below). if true, **raw** contains data from a new dump (versions 0.6.0 and above). if true and if **num\_raw** is 1, it indicates only one logical core was detected on the system.

## Author

Generated automatically by Doxygen for libcpuid from the source code.
