MCPcopy Create free account
hub / github.com/F-Stack/f-stack / LogicalCoreCount

Class LogicalCoreCount

dpdk/dts/framework/testbed_model/hw/cpu.py:90–99  ·  view source on GitHub ↗

Define the number of logical cores to use. If sockets is not None, socket_count is ignored.

Source from the content-addressed store, hash-verified

88
89@dataclasses.dataclass(slots=True, frozen=True)
90class 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
102class LogicalCoreFilter(ABC):

Callers 2

create_eal_parametersMethod · 0.85

Calls

no outgoing calls

Tested by 1