# cores

### cores

Reports details about each core your chip supports.

On chips that support Simultaneous Multi-Threading (hyper-threading) we return a core for each virtual core. So a CPU with 8 physical cores that supports hyper-threading will report 16 cores.

For each core we return

* Name - brand name of cpu
* Vendor&#x20;
* Architecture
* Socket - zero based socket no. Not supported on all systems and will return 0 in these cases.

The `Socket` represents a physical processor. Most PC and mobile devices only have a single Socket. Server grade hardware may report multiple sockets.

Example Values:

* 4
* 16

&#x20;Example:

```dart
import "package:system_info2/system_info2.dart";

print("Processors         : ${SysInfo.processors}");
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://sysinfo.onepub.dev/reference/sysinfo/cores.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
