mbox

[v4,0/3] example and test cases optimizations

Message ID 1554692551-28275-1-git-send-email-phil.yang@arm.com (mailing list archive)
Headers

Message

Phil Yang April 8, 2019, 3:02 a.m. UTC
  v4:
packet_ordering: Fixed -Wmissing-braces issue for clang build.
(Thomas Monjalon)

v3:
test_distributor: Remove the conditional compilation and just keep the
__atomic_xxx calls. (Honnappa Nagarahalli)

v2:
1. Add per lcore statistics for each worker thread, removed __sync
builtins.
2. Reimplement test_distributor with atomic one-way barrier, if
C11_MEM_MODEL is enabled.
3. Reimplement test_ring_perf with atomic one-way barrier, if
C11_MEM_MODEL is enabled.

v1:
Reimplement packet_ordering with __atomic one-way barrier.

Phil Yang (3):
  packet_ordering: add statistics for each worker thread
  test/distributor: replace sync builtins with atomic builtins
  test/ring_perf: replace sync builtins with atomic builtins

 app/test/test_distributor.c                  |  7 ++--
 app/test/test_distributor_perf.c             |  2 +-
 app/test/test_ring_perf.c                    | 12 +++++--
 doc/guides/sample_app_ug/packet_ordering.rst |  4 ++-
 examples/packet_ordering/main.c              | 50 +++++++++++++++++++++++++---
 5 files changed, 63 insertions(+), 12 deletions(-)