(This document/code contribution attached is provided under the terms of
agreement LES-LTM-21309)
Use the term CPU instead of core in API's, messages and comments in
linux-generic, examples and tests.
Rename odp_core_count() to odp_cpu_count().
odp_cpu_count()/sysconf_cpu_count() reports the number of online CPU's
(which may be different from the number of CONFigured CPU's, e.g. on b.L
systems).
v2 is rebased for latest changes.
v3 removes an unused odp_shm declaration that was introduced by a bothed
rebase. It also fixes another instance of odp_core_count() (in odp_system.c)
which seem to have crept in.
Ola Liljedahl (2):
api: odp_system_info.h: change core to cpu everywhere
linux-generic:odp_system_info.c:sysconf_cpu_count() report online
cores
example/generator/odp_generator.c | 38 ++++++++++----------
example/ipsec/odp_ipsec.c | 32 ++++++++---------
example/l2fwd/odp_l2fwd.c | 42 +++++++++++-----------
example/packet/odp_pktio.c | 40 ++++++++++-----------
example/timer/odp_timer_test.c | 38 ++++++++++----------
helper/include/odph_linux.h | 24 ++++++-------
.../linux-generic/include/api/odp_system_info.h | 8 +++--
platform/linux-generic/include/api/odp_thread.h | 6 ++--
platform/linux-generic/odp_linux.c | 34 +++++++++---------
platform/linux-generic/odp_system_info.c | 24 ++++++-------
platform/linux-generic/odp_thread.c | 2 +-
test/api_test/odp_atomic_test.c | 6 ++--
test/api_test/odp_common.c | 8 ++---
test/api_test/odp_ring_test.c | 2 +-
test/api_test/odp_shm_test.c | 2 +-
test/performance/odp_scheduling.c | 38 ++++++++++----------
test/validation/odp_schedule.c | 26 +++++++-------
test/validation/odp_shm.c | 2 +-
test/validation/odp_system.c | 10 +++---
19 files changed, 192 insertions(+), 190 deletions(-)
--
1.9.1
_______________________________________________
lng-odp mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/lng-odp