diff options
author | jaszha03 <jason.zhang2@arm.com> | 2019-07-01 17:20:52 -0500 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2019-07-31 13:55:12 +0000 |
commit | 25ab6cfed6db18bdd8cdb57b7e751751aa64c576 (patch) | |
tree | 030e0250238413e740953667f3017f5c64806e50 /src/vlibmemory/memory_shared.h | |
parent | 5cdde5c25a0e71d923a6d56e5c94e058887f95d8 (diff) |
vppinfra: added performance test for clib_rwlock_t (test_rwlock.c)
Spawns a uniform number of writer and reader threads across a number of
cores where each writer thread increments a global variable a specified
number of times, and the reader threads continually poll the global's
value until the writers complete.
Type: test
Change-Id: I979c3734c6d03139d0802bff1846875d226f6fbb
Signed-off-by: Jason Zhang <jason.zhang2@arm.com>
Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
Reviewed-by: Lijian Zhang <Lijian.Zhang@arm.com>
Diffstat (limited to 'src/vlibmemory/memory_shared.h')
0 files changed, 0 insertions, 0 deletions