Home
last modified time | relevance | path

Searched refs:affinity (Results 1 – 12 of 12) sorted by relevance

/iperf/src/
H A Dmain.c80 int affinity = -1; in main() local
91 CPU_SET(affinity, &cpu_set); in main()
H A Diperf_client_api.c536 if (test->affinity != -1) in iperf_run_client()
537 if (iperf_setaffinity(test, test->affinity) != 0) in iperf_run_client()
H A Diperf_server_api.c452 if (test->affinity != -1) in iperf_run_server()
453 if (iperf_setaffinity(test, test->affinity) != 0) in iperf_run_server()
H A Diperf.h288 int affinity, server_affinity; /* -A option */ member
H A Diperf_config.h.in9 /* Have CPU affinity support. */
H A Diperf_api.c1459 test->affinity = strtol(optarg, &endptr, 0); in iperf_parse_arguments()
1461 test->affinity < 0 || test->affinity > 1024) { in iperf_parse_arguments()
2759 testp->affinity = -1; in iperf_defaults()
4653 iperf_setaffinity(struct iperf_test *test, int affinity) in iperf_setaffinity() argument
4659 CPU_SET(affinity, &cpu_set); in iperf_setaffinity()
4675 CPU_SET(affinity, &cpumask); in iperf_setaffinity()
4685 DWORD_PTR processAffinityMask = 1 << affinity; in iperf_setaffinity()
H A Diperf_api.h344 int iperf_setaffinity(struct iperf_test *, int affinity);
/iperf/
H A Dconfigure.ac200 # Check for CPU affinity support. FreeBSD and Linux do this differently
203 # Define HAVE_CPU_AFFINITY to indicate the CPU affinity setting as a
207 [Have CPU affinity support.]))
H A DREADME.md79 -A, --affinity n/n,m set CPU affinity
H A DRELNOTES.md267 * The -A (set processor affinity) command-line flag is now supported
617 * Setting CPU affinity now works on FreeBSD.
877 -A, --affinity n/n,m set CPU affinity (Linux only)
/iperf/docs/
H A Dinvoking.rst17 and ``-A`` (``--affinity``) options.
152 -A, --affinity n/n,m
153 Set the CPU affinity, if possible (Linux, FreeBSD, and Windows
155 affinity by using the n form of this argument (where n is a CPU
157 server's affinity for just that one test, using the n,m form of
H A Ddev.rst49 -A, --affinity n/n,m set CPU affinity (Linux and FreeBSD only)