Documentation ¶
Overview ¶
Package ealtestenv initializes EAL for unit testing.
Index ¶
Constants ¶
View Source
const EnvCpus = "EALTESTENV_CPUS"
EnvCpus declares an environment variable to reduce the number of usable CPU cores. This allows running tests on fewer CPU cores.
View Source
const EnvMemory = "EALTESTENV_MEM"
EnvMemory declares an environment variable to specify amount of memory (in MiB) per NUMA socket. Default is no limit, i.e. up to available hugepages.
Variables ¶
View Source
var UsingThreads = false
UsingThreads is set to true if there are fewer CPU cores than lcores.
View Source
var WantLCores = 6
WantLCores indicates the number of lcores to be created.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.