ealtestenv

package
v0.0.0-...-6c4fd92 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 17, 2024 License: NIST-PD-fallback Imports: 8 Imported by: 0

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

func Init

func Init()

Init initializes EAL for unit testing.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL