Define the number of logical cores to use. If sockets is not None, socket_count is ignored.
| 88 | |
| 89 | @dataclasses.dataclass(slots=True, frozen=True) |
| 90 | class LogicalCoreCount(object): |
| 91 | """ |
| 92 | Define the number of logical cores to use. |
| 93 | If sockets is not None, socket_count is ignored. |
| 94 | """ |
| 95 | |
| 96 | lcores_per_core: int = 1 |
| 97 | cores_per_socket: int = 2 |
| 98 | socket_count: int = 1 |
| 99 | sockets: list[int] | None = None |
| 100 | |
| 101 | |
| 102 | class LogicalCoreFilter(ABC): |
no outgoing calls