Skip to content

Execution

Philipp Gschwandtner edited this page Apr 16, 2017 · 1 revision

Execution

This section assumes that you are able to successfully build your sources (see Installation).

Environment Variables

Currently, the following environment variables are supported by the API:

Name Values Description
NUM_WORKERS 0-N Sets the number of workers of the runtime
NO_AFFINITY any If set, disables worker/core binding, for testing purposes

For example, the following command runs the pfor unit test with 8 workers without affinity.

NUM_WORKERS=8 NO_AFFINITY=1 api/ut_api_user_operator_pfor