# Hostcpu

This element details the CPU information of a Host.

## Element structure

| Property | Value type | Required  | Description                                      |
| -------- | ---------- | --------- | ------------------------------------------------ |
| socket   | int        | Read-only | Number of populated CPU sockets                  |
| cores    | int        | Read-only | Total number of cores (sum of all CPU cores)     |
| threads  | int        | Read-only | Total number of threads (sum of all CPU threads) |
| info     | string     | Read-only | CPU information                                  |
| type     | string     | Read-only | CPU type                                         |

Table 1: HostCpu element structure

## Hyperthreading

You can tell whether hyperthreading is enabled by looking at the `cores` and `threads` properties.

The `cores` property represents physical cores. The `threads` property represents logical cores.

Hyperthreading is enabled when `threads` is double the amount of `cores`.

Hyperthreading is disabled when `threads` is equal to the amount of `cores`.

## Element relation

The Cpu element is part of the [Host](/game-hosting/elements/host.md) element and is not used stand-alone.


---

# 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://docs.i3d.net/game-hosting/elements/host/hostcpu.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.
